contrib/bkr: fix hostRequires for wifi tests

wireless group contains hosts that don't work with rhel-7.
Consider only those which hostname starts with 'wlan-r2'.
This commit is contained in:
Thomas Haller 2014-12-03 14:09:23 +01:00
parent 0353b5a740
commit 7e9f314ed0
2 changed files with 2 additions and 2 deletions

View file

@ -602,7 +602,7 @@ class CmdSubmit(CmdBase):
elif hosttype == 'infiniband':
return '<hostname op="=" value="rdma-qe-11.lab.bos.redhat.com"/>'
elif hosttype == 'wifi':
return '<group op="=" value="wireless"/>'
return '<group op="=" value="wireless"/><hostname op="like" value="wlan-r2%.wlan.rhts.eng.bos.redhat.com"/>'
#return '<hostname op="=" value="wlan-r2s26.wlan.rhts.eng.bos.redhat.com"/>'
else:
return '<group op="=" value="desktopqe-net"/>'

View file

@ -25,7 +25,7 @@
<!-- default --> <!-- <group op="=" value="desktopqe-net"/> -->
<!-- dcb --> <!-- <hostname op="=" value="wsfd-netdev7.lab.bos.redhat.com"/> -->
<!-- infiniband --> <!-- <hostname op="=" value="rdma-qe-11.lab.bos.redhat.com"/> -->
<!-- wifi --> <!-- <group op="=" value="wireless"/> -->
<!-- wifi --> <!-- <group op="=" value="wireless"/><hostname op="like" value="wlan-r2%.wlan.rhts.eng.bos.redhat.com"/> -->
<!-- wifi --> <!-- <hostname op="=" value="wlan-r2s26.wlan.rhts.eng.bos.redhat.com"/> -->
$HOSTREQUIRES
</and>