From e82cf339e476126e4016e417aee3c6eb52c702c9 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 12 May 2010 15:59:32 +0200 Subject: randomtest fixes Signed-off-by: Denys Vlasenko --- testsuite/hostname/hostname-d-works | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'testsuite/hostname/hostname-d-works') diff --git a/testsuite/hostname/hostname-d-works b/testsuite/hostname/hostname-d-works index a9aeb92cb..e062242bb 100644 --- a/testsuite/hostname/hostname-d-works +++ b/testsuite/hostname/hostname-d-works @@ -1,2 +1,3 @@ -test x$(hostname -d) = x$(busybox hostname -d) - +f=$(busybox hostname -f) +d=$(busybox hostname -d) +test x"${f#*.}" = x"$d" -- cgit v1.2.3