data/method/busybox/busybox-1.36.0/testsuite/hostname/hostname-d-works

4 lines
82 B
Plaintext
Raw Normal View History

2024-01-29 10:44:43 +08:00
f=$(busybox hostname -f).
d=$(busybox hostname -d)
test x"${f#*.}" = x"$d${d:+.}"