diff options
Diffstat (limited to 'tests/ls/no-arg')
-rwxr-xr-x | tests/ls/no-arg | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/ls/no-arg b/tests/ls/no-arg index d9dbff841..6852d78e7 100755 --- a/tests/ls/no-arg +++ b/tests/ls/no-arg @@ -17,6 +17,13 @@ cd $tmp || framework_failure=1 mkdir -p dir/subdir || framework_failure=1 ln -s f symlink || framework_failure=1 +cat > exp <<\EOF || framework_failure=1 +dir +exp +out +symlink +EOF + if test $framework_failure = 1; then echo 'failure in testing framework' (exit 1); exit @@ -24,13 +31,6 @@ fi fail=0 -cat > exp <<\EOF -dir -exp -out -symlink -EOF - ls > out || fail=1 cmp out exp || fail=1 |