From 775965de859c6df5d5652f3f58edfd68803f0813 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Tue, 10 Aug 2010 23:33:57 -0700 Subject: 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 Signed-off-by: Denys Vlasenko --- testsuite/tar.tests | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'testsuite/tar.tests') 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 -- cgit v1.2.3