aboutsummaryrefslogtreecommitdiff
path: root/testsuite/hostname
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/hostname')
-rw-r--r--testsuite/hostname/hostname-d-works4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/hostname/hostname-d-works b/testsuite/hostname/hostname-d-works
index e062242bb..54c0aac0c 100644
--- a/testsuite/hostname/hostname-d-works
+++ b/testsuite/hostname/hostname-d-works
@@ -1,3 +1,3 @@
-f=$(busybox hostname -f)
+f=$(busybox hostname -f).
d=$(busybox hostname -d)
-test x"${f#*.}" = x"$d"
+test x"${f#*.}" = x"$d${d:+.}"