aboutsummaryrefslogtreecommitdiff
path: root/testsuite/tar.tests
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2010-08-10 23:33:57 -0700
committerDenys Vlasenko <vda.linux@googlemail.com>2010-08-11 14:09:28 +0200
commit775965de859c6df5d5652f3f58edfd68803f0813 (patch)
tree445445fa22d29a79b68dcfd109854a12ffe44ec4 /testsuite/tar.tests
parentf03fc7d77a5df53aae5eb2d02a49860dc2878da7 (diff)
downloadbusybox-w32-775965de859c6df5d5652f3f58edfd68803f0813.tar.gz
busybox-w32-775965de859c6df5d5652f3f58edfd68803f0813.tar.bz2
busybox-w32-775965de859c6df5d5652f3f58edfd68803f0813.zip
Improved portability of tests
Removed assumptions about umask and locale. Fixed hostname tests to work even when the host has no DNS domain set. Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite/tar.tests')
-rwxr-xr-xtestsuite/tar.tests6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tar.tests b/testsuite/tar.tests
index f40079037..6604b4d22 100755
--- a/testsuite/tar.tests
+++ b/testsuite/tar.tests
@@ -4,6 +4,12 @@
4 4
5. ./testing.sh 5. ./testing.sh
6 6
7unset LANG
8unset LANGUAGE
9unset LC_COLLATE
10unset LC_ALL
11umask 022
12
7rm -rf tar.tempdir 2>/dev/null 13rm -rf tar.tempdir 2>/dev/null
8mkdir tar.tempdir && cd tar.tempdir || exit 1 14mkdir tar.tempdir && cd tar.tempdir || exit 1
9 15