a bit more IPv6-ization work
[oweals/busybox.git] / testsuite / du / du-h-works
index 8ec5d4c24c10034db9ca2cbecc7ef972450bdf5b..82041ab339316181f397f9ac8d5359f3b34ced8f 100644 (file)
@@ -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