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>
master
Andreas Färber 2012-04-20 12:50:24 +02:00 committed by Kevin Wolf
parent 80ccf93b88
commit 29926112a2
1 changed files with 1 additions and 1 deletions

View File

@ -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