From a456c2fc6b219d29294aa54c41fdad141b1d4254 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Sun, 2 Apr 2017 11:58:49 -0700 Subject: Fix ls -a and ls -A tests. --- tests/ls.test | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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" "" "" -- cgit v1.2.3