summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/ls/infloop3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/ls/infloop b/tests/ls/infloop
index 7d19b13d6..2ab486db1 100755
--- a/tests/ls/infloop
+++ b/tests/ls/infloop
@@ -36,8 +36,7 @@ cat <<\EOF > exp-err || framework_failure
ls: loop/sub: not listing already-listed directory
EOF
-
-timeout 1 ls -RL loop 2>err > out
+timeout 1 ls -RL loop >out 2>err
# Ensure that ls exits with status 2 upon detecting a cycle
test $? = 2 || fail=1