summaryrefslogtreecommitdiff
path: root/testsuite/date
diff options
context:
space:
mode:
authorDan Fandrich2010-08-10 23:33:57 -0700
committerDenys Vlasenko2010-08-11 14:09:28 +0200
commit775965de859c6df5d5652f3f58edfd68803f0813 (patch)
tree445445fa22d29a79b68dcfd109854a12ffe44ec4 /testsuite/date
parentf03fc7d77a5df53aae5eb2d02a49860dc2878da7 (diff)
downloadbusybox-775965de859c6df5d5652f3f58edfd68803f0813.zip
busybox-775965de859c6df5d5652f3f58edfd68803f0813.tar.gz
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/date')
-rw-r--r--testsuite/date/date-works-13
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/date/date-works-1 b/testsuite/date/date-works-1
index e745d38..cb5cea2 100644
--- a/testsuite/date/date-works-1
+++ b/testsuite/date/date-works-1
@@ -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"