diff options
Diffstat (limited to 'testsuite/du/du-m-works')
-rw-r--r-- | testsuite/du/du-m-works | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/testsuite/du/du-m-works b/testsuite/du/du-m-works index e3e2d3a..bc97073 100644 --- 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 |