Re: [Qemu-devel] [PATCH v2] iotests: Do not rely on unavailable domains in 162

2016-08-25 Thread Sascha Silbe
Dear Max, Max Reitz writes: [tests/qemu-iotests/162] [...] > +while true; do > +port=$((RANDOM + 32768)) > +$QEMU_NBD -p $port -f raw null-co:// &> /dev/null & > +nbd_pid=$! > +sleep 0.5 > + > +# Check whether the process is still alive > +# (which is the case if the serv

[Qemu-devel] [PATCH v2] iotests: Do not rely on unavailable domains in 162

2016-08-23 Thread Max Reitz
There are some (mostly ISP-specific) name servers who will redirect non-existing domains to special hosts. In this case, we will get a different error message when trying to connect to such a host, which breaks test 162. 162 needed this specific error message so it can confirm that qemu was indeed