aboutsummaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-04-23 07:02:02 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-04-23 07:02:02 +0000
commit71e3ab327a155b513f612e328fc43e6b334fccc2 (patch)
treefc78cd11ce4415efc7522c5df0bfa4b43d16bb93 /testsuite
parent58dc274a7aefcbe80efe2a99742811a8affaca44 (diff)
downloadbusybox-71e3ab327a155b513f612e328fc43e6b334fccc2.tar.gz
testsuite: fix du testsuite to not use changing directories
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/du/du-h-works2
-rw-r--r--testsuite/du/du-k-works2
-rw-r--r--testsuite/du/du-l-works2
-rw-r--r--testsuite/du/du-m-works2
-rw-r--r--testsuite/du/du-s-works2
-rw-r--r--testsuite/du/du-works2
6 files changed, 6 insertions, 6 deletions
diff --git a/testsuite/du/du-h-works b/testsuite/du/du-h-works
index 82041ab33..3f8ff3d0b 100644
--- a/testsuite/du/du-h-works
+++ b/testsuite/du/du-h-works
@@ -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
diff --git a/testsuite/du/du-k-works b/testsuite/du/du-k-works
index 177a1a2cd..6c2c5d073 100644
--- a/testsuite/du/du-k-works
+++ b/testsuite/du/du-k-works
@@ -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
diff --git a/testsuite/du/du-l-works b/testsuite/du/du-l-works
index 61e91400c..c3d2ec0c1 100644
--- a/testsuite/du/du-l-works
+++ b/testsuite/du/du-l-works
@@ -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
diff --git a/testsuite/du/du-m-works b/testsuite/du/du-m-works
index bc9707350..bf0a90e1b 100644
--- a/testsuite/du/du-m-works
+++ b/testsuite/du/du-m-works
@@ -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
diff --git a/testsuite/du/du-s-works b/testsuite/du/du-s-works
index f0b3bf0ae..ae970772a 100644
--- a/testsuite/du/du-s-works
+++ b/testsuite/du/du-s-works
@@ -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
diff --git a/testsuite/du/du-works b/testsuite/du/du-works
index 47949c694..46a336dc3 100644
--- a/testsuite/du/du-works
+++ b/testsuite/du/du-works
@@ -1,4 +1,4 @@
-[ -n "$d" ] || d=..
+d=/bin
du "$d" > logfile.gnu
busybox du "$d" > logfile.bb
cmp logfile.gnu logfile.bb