projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80ccf93
)
iotests: Resolve test failures caused by hostname
author
Andreas Färber
<afaerber@suse.de>
Fri, 20 Apr 2012 10:50:24 +0000
(12:50 +0200)
committer
Kevin Wolf
<kwolf@redhat.com>
Fri, 20 Apr 2012 10:58:50 +0000
(12:58 +0200)
`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>
tests/qemu-iotests/common.config
patch
|
blob
|
history
diff --git
a/tests/qemu-iotests/common.config
b/tests/qemu-iotests/common.config
index a220684b0f9a05d79b4a96333b576db91790304d..df082e750c93e808739ce5de8834a0f3b29acd8d 100644
(file)
--- 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