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:
Dan Fandrich authored and Denys Vlasenko committed 2010-08-11 14:09:28 +02:00
1 parent f03fc7d77a
commit 775965de85
8 files changed
+24 -5

No files matched your search

+3
View File
@@ -1,4 +1,7 @@
unset LANG
unset LANGUAGE
unset LC_TIME
unset LC_ALL
dt=`busybox date -d 1:2 +%T`
test x"$dt" = x"01:02:00"