hush/testsuite/hostname/hostname-d-works
Denys Vlasenko e82cf339e4 randomtest fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-05-12 15:59:32 +02:00

4 lines
74 B
Plaintext

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