commit | 5508363fd05ecf71bc1db887256da1c0ae960c8d | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <vda.linux@googlemail.com> | Thu Jul 02 14:25:51 2009 +0200 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Thu Jul 02 14:25:51 2009 +0200 |
tree | c74565b5172423df2601e58105c9188b702852d1 | |
parent | 5478aaf5b8f9a90ab37d9de89fc893886f9580db [diff] [blame] |
ls: fix --color handling. Closes bug 435. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
diff --git a/testsuite/ls/ls-1-works b/testsuite/ls/ls-1-works index 8ad484f..8856949 100644 --- a/testsuite/ls/ls-1-works +++ b/testsuite/ls/ls-1-works
@@ -1,4 +1,4 @@ [ -n "$d" ] || d=.. -ls -1 "$d" > logfile.gnu -busybox ls -1 "$d" > logfile.bb -cmp logfile.gnu logfile.bb +LC_ALL=C ls -1 "$d" > logfile.gnu +LC_ALL=C busybox ls -1 "$d" > logfile.bb +diff -ubw logfile.gnu logfile.bb