testsuite: fix du testsuite to not use changing directories

This commit is contained in:
Denis Vlasenko 2008-04-23 07:02:02 +00:00
parent 58dc274a7a
commit 71e3ab327a
6 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
[ -n "$d" ] || d=..
d=/bin
du -h "$d" > logfile.gnu
busybox du -h "$d" > logfile.bb
cmp logfile.gnu logfile.bb

View File

@ -1,4 +1,4 @@
[ -n "$d" ] || d=..
d=/bin
du -k "$d" > logfile.gnu
busybox du -k "$d" > logfile.bb
cmp logfile.gnu logfile.bb

View File

@ -1,4 +1,4 @@
[ -n "$d" ] || d=..
d=/bin
du -l "$d" > logfile.gnu
busybox du -l "$d" > logfile.bb
cmp logfile.gnu logfile.bb

View File

@ -1,4 +1,4 @@
[ -n "$d" ] || d=..
d=/bin
du -m "$d" > logfile.gnu
busybox du -m "$d" > logfile.bb
cmp logfile.gnu logfile.bb

View File

@ -1,4 +1,4 @@
[ -n "$d" ] || d=..
d=/bin
du -s "$d" > logfile.gnu
busybox du -s "$d" > logfile.bb
cmp logfile.gnu logfile.bb

View File

@ -1,4 +1,4 @@
[ -n "$d" ] || d=..
d=/bin
du "$d" > logfile.gnu
busybox du "$d" > logfile.bb
cmp logfile.gnu logfile.bb