source:
MondoRescue/tags/3.2.2/mindi-busybox/testsuite/hostid/hostid-works@
3801
Last change on this file since 3801 was 2725, checked in by , 13 years ago | |
---|---|
File size: 168 bytes |
Line | |
---|---|
1 | h=x$(busybox hostid) |
2 | # Is $h a sequence of hex numbers? |
3 | x="${h//[0123456789abcdef]/x}" |
4 | x="${x//xxx/x}" |
5 | x="${x//xxx/x}" |
6 | x="${x//xxx/x}" |
7 | x="${x//xx/x}" |
8 | test x"$x" = x"x" |
Note:
See TracBrowser
for help on using the repository browser.