From: Andreas Färber Date: Fri, 20 Apr 2012 10:50:24 +0000 (+0200) Subject: iotests: Resolve test failures caused by hostname X-Git-Tag: v1.1-rc0~80^2~19 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=29926112a2fd619abedd8e21002f5d50c476b402;p=thirdparty%2Fqemu.git iotests: Resolve test failures caused by hostname `hostname -s` may output an errror: hostname: Name or service not known This causes all tests to fail for `make check-block`. Suppress such error messages, letting the tests succeed. Signed-off-by: Andreas Färber Signed-off-by: Kevin Wolf --- diff --git a/tests/qemu-iotests/common.config b/tests/qemu-iotests/common.config index a220684b0f9..df082e750c9 100644 --- a/tests/qemu-iotests/common.config +++ b/tests/qemu-iotests/common.config @@ -36,7 +36,7 @@ export LANG=C PATH=".:$PATH" -HOST=`hostname -s` +HOST=`hostname -s 2> /dev/null` HOSTOS=`uname -s` EMAIL=root@localhost # where auto-qa will send its status messages