randomtest fixes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2010-05-12 15:59:32 +02:00
parent a2215b98f7
commit e82cf339e4
16 changed files with 51 additions and 35 deletions

View File

@@ -1,2 +1,8 @@
test x$(hostid) = x$(busybox hostid)
h=x$(busybox hostid)
# Is $h a sequence of hex numbers?
x="${h//[0123456789abcdef]/x}"
x="${x//xxx/x}"
x="${x//xxx/x}"
x="${x//xxx/x}"
x="${x//xx/x}"
test x"$x" = x"x"