aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2017-04-02 11:58:49 -0700
committerRob Landley <rob@landley.net>2017-04-03 17:00:07 -0500
commita456c2fc6b219d29294aa54c41fdad141b1d4254 (patch)
tree3e6103d75ed8bd5f988d800d7c9a31e20af92d7e
parent6232dc68c4169332950333b259943e175ddcfaea (diff)
downloadtoybox-a456c2fc6b219d29294aa54c41fdad141b1d4254.tar.gz
Fix ls -a and ls -A tests.
-rwxr-xr-xtests/ls.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ls.test b/tests/ls.test
index 07850de2..b29c478a 100755
--- a/tests/ls.test
+++ b/tests/ls.test
@@ -22,9 +22,9 @@ testing "with wild char" "$IN && ls file*; $OUT" "file1.txt\nfile2.txt\n" "" ""
testing "with wild char - long listing" "$IN && ls -1 file*; $OUT" "file1.txt\nfile2.txt\n" "" ""
testing "with -p" "$IN && ls -p; $OUT" "dir1/\ndir2/\nfile1.txt\nfile2.txt\n" "" ""
testing "with -a" "$IN && ls -a; $OUT" \
- ".\n..\ndir1\ndir2\nfile1.txt\nfile2.txt\n.hfile1\n" "" ""
+ ".\n..\n.hfile1\ndir1\ndir2\nfile1.txt\nfile2.txt\n" "" ""
testing "with -A" "$IN && ls -A; $OUT" \
- "dir1\ndir2\nfile1.txt\nfile2.txt\n.hfile1\n" "" ""
+ ".hfile1\ndir1\ndir2\nfile1.txt\nfile2.txt\n" "" ""
testing "with -d" "$IN && ls -d; $OUT" ".\n" "" ""
testing "with wild char and -d *" "$IN && ls -d *; $OUT" "dir1\ndir2\nfile1.txt\nfile2.txt\n" "" ""
testing "with -k" "$IN && ls -k; $OUT" "dir1\ndir2\nfile1.txt\nfile2.txt\n" "" ""