find:: get rid of nested function (it's a gcc-ism)
[oweals/busybox.git] / testsuite / hostname / hostname-d-works
1 f=$(busybox hostname -f).
2 d=$(busybox hostname -d)
3 test x"${f#*.}" = x"$d${d:+.}"