summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/ls/infloop2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ls/infloop b/tests/ls/infloop
index 69ecba4d6..1842c5bc4 100755
--- a/tests/ls/infloop
+++ b/tests/ls/infloop
@@ -27,7 +27,7 @@ fi
fail=0
-ls -RL loop 2>err | head -7 > out
+ls -RL loop 2>err | head -n 7 > out
# With an inf-looping ls, out will contain these 7 lines:
cat <<EOF > bad
loop: