projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
a bit more IPv6-ization work
[oweals/busybox.git]
/
testsuite
/
du
/
du-h-works
diff --git
a/testsuite/du/du-h-works
b/testsuite/du/du-h-works
index 8ec5d4c24c10034db9ca2cbecc7ef972450bdf5b..82041ab339316181f397f9ac8d5359f3b34ced8f 100644
(file)
--- a/
testsuite/du/du-h-works
+++ b/
testsuite/du/du-h-works
@@
-1,3
+1,4
@@
-du -h .. > logfile.gnu
-busybox du -h .. > logfile.bb
+[ -n "$d" ] || d=..
+du -h "$d" > logfile.gnu
+busybox du -h "$d" > logfile.bb
cmp logfile.gnu logfile.bb