- make sure that we see freeramdisk only once
[oweals/busybox.git] / testsuite / du / du-m-works
index e3e2d3a56340084924acee7e5cf63d5bfb512e3e..bc9707350b56fc4cc3f9465cd3a55a9b8d7ccb02 100644 (file)
@@ -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