diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2010-08-11 10:33:57 +0400 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-08-11 16:09:28 +0400 |
commit | 775965de859c6df5d5652f3f58edfd68803f0813 (patch) | |
tree | 445445fa22d29a79b68dcfd109854a12ffe44ec4 /testsuite/tar.tests | |
parent | f03fc7d77a5df53aae5eb2d02a49860dc2878da7 (diff) |
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-x | testsuite/tar.tests | 6 |
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 @@ . ./testing.sh +unset LANG +unset LANGUAGE +unset LC_COLLATE +unset LC_ALL +umask 022 + rm -rf tar.tempdir 2>/dev/null mkdir tar.tempdir && cd tar.tempdir || exit 1 |