iotests: fix exclusion option
commitcc02e89eb4eb8b1cc43b2bc168dc0fca48ee721f
authorJohn Snow <jsnow@redhat.com>
Thu, 27 Apr 2017 20:51:00 +0000 (27 16:51 -0400)
committerMax Reitz <mreitz@redhat.com>
Fri, 28 Apr 2017 16:40:41 +0000 (28 18:40 +0200)
treef5c06c9499b541e7a78d0eb9c0712c0f319f441d
parent4f38497b0fc03dcb24c9014c2cf34d324ab20c1e
iotests: fix exclusion option

If you are running out-of-tree, the -x option to exclude
a certain iotest is broken.

Replace porcelain usage of ls with a sturdier awk command.

Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 20170427205100.9505-3-jsnow@redhat.com
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
tests/qemu-iotests/common