aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2012-04-20 12:50:24 +0200
committerKevin Wolf <kwolf@redhat.com>2012-04-20 12:58:50 +0200
commit29926112a2fd619abedd8e21002f5d50c476b402 (patch)
tree7ceb1b5314b5f99e3d68383562c707ca903a316a /tests
parent80ccf93b884a2edab5ec62634758e942bba81b7c (diff)
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 <afaerber@suse.de> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/qemu-iotests/common.config2
1 files changed, 1 insertions, 1 deletions
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