This website requires JavaScript.
Explore
Help
Sign In
BusyBox
/
busybox
mirror of
https://github.com/mirror/busybox.git
Watch
1
Star
0
Fork
You've already forked busybox
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
f03fc7d77a
busybox
/
testsuite
/
hostname
/
hostname-d-works
4 lines
74 B
Plaintext
Raw
Normal View
History
Unescape
Escape
randomtest fixes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-05-12 13:59:32 +00:00
f=$(busybox hostname -f)
d=$(busybox hostname -d)
test x"${f#*.}" = x"$d"