qemu-iotests: add gdbserver option to script tests too
commit4d14db0468b7b6495aae1d9de4efe2dc1d5c513d
authorEmanuele Giuseppe Esposito <eesposit@redhat.com>
Mon, 9 Aug 2021 09:01:06 +0000 (9 11:01 +0200)
committerHanna Reitz <hreitz@redhat.com>
Wed, 1 Sep 2021 10:57:31 +0000 (1 12:57 +0200)
treee2fc0475f5d58f26372df78f565e5a11ac25d5c6
parent776b9974e5b8b659d3b9b2a7dd6d84293c59664b
qemu-iotests: add gdbserver option to script tests too

Remove read timer in test script when GDB_OPTIONS are set,
so that the bash tests won't timeout while running gdb.

The only limitation here is that running a script with gdbserver
will make the test output mismatch with the expected
results, making the test fail.

Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
Message-Id: <20210809090114.64834-9-eesposit@redhat.com>
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
tests/qemu-iotests/common.qemu
tests/qemu-iotests/common.rc