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