testsuite: fix du testsuite to not use changing directories
This commit is contained in:
parent
58dc274a7a
commit
71e3ab327a
@ -1,4 +1,4 @@
|
|||||||
[ -n "$d" ] || d=..
|
d=/bin
|
||||||
du -h "$d" > logfile.gnu
|
du -h "$d" > logfile.gnu
|
||||||
busybox du -h "$d" > logfile.bb
|
busybox du -h "$d" > logfile.bb
|
||||||
cmp logfile.gnu logfile.bb
|
cmp logfile.gnu logfile.bb
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
[ -n "$d" ] || d=..
|
d=/bin
|
||||||
du -k "$d" > logfile.gnu
|
du -k "$d" > logfile.gnu
|
||||||
busybox du -k "$d" > logfile.bb
|
busybox du -k "$d" > logfile.bb
|
||||||
cmp logfile.gnu logfile.bb
|
cmp logfile.gnu logfile.bb
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
[ -n "$d" ] || d=..
|
d=/bin
|
||||||
du -l "$d" > logfile.gnu
|
du -l "$d" > logfile.gnu
|
||||||
busybox du -l "$d" > logfile.bb
|
busybox du -l "$d" > logfile.bb
|
||||||
cmp logfile.gnu logfile.bb
|
cmp logfile.gnu logfile.bb
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
[ -n "$d" ] || d=..
|
d=/bin
|
||||||
du -m "$d" > logfile.gnu
|
du -m "$d" > logfile.gnu
|
||||||
busybox du -m "$d" > logfile.bb
|
busybox du -m "$d" > logfile.bb
|
||||||
cmp logfile.gnu logfile.bb
|
cmp logfile.gnu logfile.bb
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
[ -n "$d" ] || d=..
|
d=/bin
|
||||||
du -s "$d" > logfile.gnu
|
du -s "$d" > logfile.gnu
|
||||||
busybox du -s "$d" > logfile.bb
|
busybox du -s "$d" > logfile.bb
|
||||||
cmp logfile.gnu logfile.bb
|
cmp logfile.gnu logfile.bb
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
[ -n "$d" ] || d=..
|
d=/bin
|
||||||
du "$d" > logfile.gnu
|
du "$d" > logfile.gnu
|
||||||
busybox du "$d" > logfile.bb
|
busybox du "$d" > logfile.bb
|
||||||
cmp logfile.gnu logfile.bb
|
cmp logfile.gnu logfile.bb
|
||||||
|
Loading…
Reference in New Issue
Block a user