diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2010-08-10 23:33:57 -0700 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-08-11 14:09:28 +0200 |
commit | 775965de859c6df5d5652f3f58edfd68803f0813 (patch) | |
tree | 445445fa22d29a79b68dcfd109854a12ffe44ec4 /testsuite/makedevs.tests | |
parent | f03fc7d77a5df53aae5eb2d02a49860dc2878da7 (diff) | |
download | busybox-w32-775965de859c6df5d5652f3f58edfd68803f0813.tar.gz busybox-w32-775965de859c6df5d5652f3f58edfd68803f0813.tar.bz2 busybox-w32-775965de859c6df5d5652f3f58edfd68803f0813.zip |
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/makedevs.tests')
-rwxr-xr-x | testsuite/makedevs.tests | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/makedevs.tests b/testsuite/makedevs.tests index f69b4a6b1..f19af8a52 100755 --- a/testsuite/makedevs.tests +++ b/testsuite/makedevs.tests | |||
@@ -4,6 +4,10 @@ | |||
4 | 4 | ||
5 | . ./testing.sh | 5 | . ./testing.sh |
6 | 6 | ||
7 | unset LANG | ||
8 | unset LC_COLLATE | ||
9 | unset LC_ALL | ||
10 | |||
7 | # ls -ln is showing date. Need to remove that, it's variable | 11 | # ls -ln is showing date. Need to remove that, it's variable |
8 | # sed: (1) "maj, min" -> "maj,min" (2) coalesce spaces | 12 | # sed: (1) "maj, min" -> "maj,min" (2) coalesce spaces |
9 | # cut: remove date | 13 | # cut: remove date |