Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-05-12 17:59:32 +0400
committerDenys Vlasenko <vda.linux@googlemail.com>2010-05-12 17:59:32 +0400
commite82cf339e476126e4016e417aee3c6eb52c702c9 (patch)
treeaf480d4552cb63fcf8ee28600986e9c16c7adb6a /testsuite/hostname
parenta2215b98f7d65bc613b9c8f008d79672402c6a07 (diff)
randomtest fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite/hostname')
-rw-r--r--testsuite/hostname/hostname-d-works5
1 files changed, 3 insertions, 2 deletions
diff --git a/testsuite/hostname/hostname-d-works b/testsuite/hostname/hostname-d-works
index a9aeb92cb..e062242bb 100644
--- a/testsuite/hostname/hostname-d-works
+++ b/testsuite/hostname/hostname-d-works
@@ -1,2 +1,3 @@
-test x$(hostname -d) = x$(busybox hostname -d)
-
+f=$(busybox hostname -f)
+d=$(busybox hostname -d)
+test x"${f#*.}" = x"$d"