summaryrefslogtreecommitdiff
path: root/testsuite/ls/ls-l-works
diff options
context:
space:
mode:
authorDenys Vlasenko2009-07-02 14:25:51 +0200
committerDenys Vlasenko2009-07-02 14:25:51 +0200
commit5508363fd05ecf71bc1db887256da1c0ae960c8d (patch)
treec74565b5172423df2601e58105c9188b702852d1 /testsuite/ls/ls-l-works
parent5478aaf5b8f9a90ab37d9de89fc893886f9580db (diff)
downloadbusybox-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-l-works')
-rw-r--r--testsuite/ls/ls-l-works4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/ls/ls-l-works b/testsuite/ls/ls-l-works
index efc2b19..1bad34b 100644
--- a/testsuite/ls/ls-l-works
+++ b/testsuite/ls/ls-l-works
@@ -1,4 +1,4 @@
[ -n "$d" ] || d=..
LC_ALL=C ls -l "$d" > logfile.gnu
-busybox ls -l "$d" > logfile.bb
-diff -w logfile.gnu logfile.bb
+LC_ALL=C busybox ls -l "$d" > logfile.bb
+diff -ubw logfile.gnu logfile.bb