summaryrefslogtreecommitdiff
path: root/testsuite/du/du-k-works
diff options
context:
space:
mode:
authorDenis Vlasenko2008-04-23 07:02:02 +0000
committerDenis Vlasenko2008-04-23 07:02:02 +0000
commit71e3ab327a155b513f612e328fc43e6b334fccc2 (patch)
treefc78cd11ce4415efc7522c5df0bfa4b43d16bb93 /testsuite/du/du-k-works
parent58dc274a7aefcbe80efe2a99742811a8affaca44 (diff)
downloadbusybox-71e3ab327a155b513f612e328fc43e6b334fccc2.zip
busybox-71e3ab327a155b513f612e328fc43e6b334fccc2.tar.gz
testsuite: fix du testsuite to not use changing directories
Diffstat (limited to 'testsuite/du/du-k-works')
-rw-r--r--testsuite/du/du-k-works2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/du/du-k-works b/testsuite/du/du-k-works
index 177a1a2..6c2c5d0 100644
--- a/testsuite/du/du-k-works
+++ b/testsuite/du/du-k-works
@@ -1,4 +1,4 @@
-[ -n "$d" ] || d=..
+d=/bin
du -k "$d" > logfile.gnu
busybox du -k "$d" > logfile.bb
cmp logfile.gnu logfile.bb