projects
/
oweals
/
busybox.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ip link: add VLAN support
[oweals/busybox.git]
/
testsuite
/
hostid
/
hostid-works
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"