source:
MondoRescue/branches/2.2.9/mindi-busybox/testsuite/hostid/hostid-works@
3842
Last change on this file since 3842 was 3320, checked in by , 10 years ago | |
---|---|
File size: 168 bytes |
Rev | Line | |
---|---|---|
[3320] | 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.