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>
This commit is contained in:
committed by
Denys Vlasenko
parent
f03fc7d77a
commit
775965de85
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user