summaryrefslogtreecommitdiff
path: root/tests/ls
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-04-22 09:11:08 +0000
committerJim Meyering <jim@meyering.net>2001-04-22 09:11:08 +0000
commitd9a0e2c715980e5c7e003fa9148045bce65314ca (patch)
treecd38806f66c9170001f514e51c79bffdc03b41e0 /tests/ls
parent7394867950ed76e705db9e73cc1080f6975ea774 (diff)
downloadcoreutils-d9a0e2c715980e5c7e003fa9148045bce65314ca.tar.xz
*** empty log message ***
Diffstat (limited to 'tests/ls')
-rwxr-xr-xtests/ls/no-arg14
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