iotests: Fix 083 for out-of-tree builds
commitf5264553c381c5f305d6e11bef18da6a29f3f423
authorMax Reitz <mreitz@redhat.com>
Sat, 24 May 2014 21:25:00 +0000 (24 23:25 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 27 Jun 2014 18:00:01 +0000 (27 20:00 +0200)
tree399cff39fca51cef0783550d1629236777bf1bf3
parentf99b4b5d7e53e85552892cdf6c7d2c3c86d409f8
iotests: Fix 083 for out-of-tree builds

iotest 083 filters out debug messages from nbd, which are prefixed (and
recognized) by __FILE__. However, the current filter (/^nbd\.c…/) is
valid for in-tree builds only, as out-of-tree builds will have a path
before that filename (e.g. "/tmp/qemu/nbd.c"). Fix this by adding .*
before "nbd\.c".

While working on this, also fix the regexes: '.' should be escaped and a
single backslash is not enough for escaping when enclosed by double
quotes.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/083