diff options
Diffstat (limited to 'testsuite/du/du-l-works')
-rw-r--r-- | testsuite/du/du-l-works | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/testsuite/du/du-l-works b/testsuite/du/du-l-works index c5d4398..61e9140 100644 --- a/testsuite/du/du-l-works +++ b/testsuite/du/du-l-works @@ -1,3 +1,4 @@ -du -l .. > logfile.gnu -busybox du -l .. > logfile.bb +[ -n "$d" ] || d=.. +du -l "$d" > logfile.gnu +busybox du -l "$d" > logfile.bb cmp logfile.gnu logfile.bb |