From: Andreas Färber Date: Fri, 20 Apr 2012 10:50:24 +0000 (+0200) Subject: iotests: Resolve test failures caused by hostname X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=29926112a2fd619abedd8e21002f5d50c476b402;p=qemu.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 a220684b0f..df082e750c 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