aboutsummaryrefslogtreecommitdiff
path: root/testsuite/hostname/hostname-d-works
blob: 54c0aac0c14db304715d953f93c934d6ec64cdb6 (plain)
1
2
3
f=$(busybox hostname -f).
d=$(busybox hostname -d)
test x"${f#*.}" = x"$d${d:+.}"