diff options
author | Denys Vlasenko | 2009-07-02 14:25:51 +0200 |
---|---|---|
committer | Denys Vlasenko | 2009-07-02 14:25:51 +0200 |
commit | 5508363fd05ecf71bc1db887256da1c0ae960c8d (patch) | |
tree | c74565b5172423df2601e58105c9188b702852d1 /testsuite/ls/ls-h-works | |
parent | 5478aaf5b8f9a90ab37d9de89fc893886f9580db (diff) | |
download | busybox-5508363fd05ecf71bc1db887256da1c0ae960c8d.zip busybox-5508363fd05ecf71bc1db887256da1c0ae960c8d.tar.gz |
ls: fix --color handling. Closes bug 435.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite/ls/ls-h-works')
-rw-r--r-- | testsuite/ls/ls-h-works | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/ls/ls-h-works b/testsuite/ls/ls-h-works index 7331262..0c83f7c 100644 --- a/testsuite/ls/ls-h-works +++ b/testsuite/ls/ls-h-works @@ -1,4 +1,4 @@ [ -n "$d" ] || d=.. -ls -h "$d" > logfile.gnu -busybox ls -h "$d" > logfile.bb -cmp logfile.gnu logfile.bb +LC_ALL=C ls -h "$d" > logfile.gnu +LC_ALL=C busybox ls -h "$d" > logfile.bb +diff -ubw logfile.gnu logfile.bb |