aboutsummaryrefslogtreecommitdiff
path: root/testsuite/hostid
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-05-12 15:59:32 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-05-12 15:59:32 +0200
commite82cf339e476126e4016e417aee3c6eb52c702c9 (patch)
treeaf480d4552cb63fcf8ee28600986e9c16c7adb6a /testsuite/hostid
parenta2215b98f7d65bc613b9c8f008d79672402c6a07 (diff)
downloadbusybox-w32-e82cf339e476126e4016e417aee3c6eb52c702c9.tar.gz
busybox-w32-e82cf339e476126e4016e417aee3c6eb52c702c9.tar.bz2
busybox-w32-e82cf339e476126e4016e417aee3c6eb52c702c9.zip
randomtest fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite/hostid')
-rw-r--r--testsuite/hostid/hostid-works10
1 files changed, 8 insertions, 2 deletions
diff --git a/testsuite/hostid/hostid-works b/testsuite/hostid/hostid-works
index e85698e66..bcfd717af 100644
--- a/testsuite/hostid/hostid-works
+++ b/testsuite/hostid/hostid-works
@@ -1,2 +1,8 @@
1test x$(hostid) = x$(busybox hostid) 1h=x$(busybox hostid)
2 2# Is $h a sequence of hex numbers?
3x="${h//[0123456789abcdef]/x}"
4x="${x//xxx/x}"
5x="${x//xxx/x}"
6x="${x//xxx/x}"
7x="${x//xx/x}"
8test x"$x" = x"x"