randomtest fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user