busybox/testsuite/hostname/hostname-d-works

4 lines
74 B
Plaintext
Raw Normal View History

f=$(busybox hostname -f)
d=$(busybox hostname -d)
test x"${f#*.}" = x"$d"