projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- make sure that we see freeramdisk only once
[oweals/busybox.git]
/
testsuite
/
du
/
du-m-works
diff --git
a/testsuite/du/du-m-works
b/testsuite/du/du-m-works
index e3e2d3a56340084924acee7e5cf63d5bfb512e3e..bc9707350b56fc4cc3f9465cd3a55a9b8d7ccb02 100644
(file)
--- a/
testsuite/du/du-m-works
+++ b/
testsuite/du/du-m-works
@@
-1,3
+1,4
@@
-du -m .. > logfile.gnu
-busybox du -m .. > logfile.bb
+[ -n "$d" ] || d=..
+du -m "$d" > logfile.gnu
+busybox du -m "$d" > logfile.bb
cmp logfile.gnu logfile.bb
cmp logfile.gnu logfile.bb