Max Reitz
47500c6775
iotests: Fix 195 if IMGFMT is part of TEST_DIR
...
do_run_qemu() in iotest 195 first applies _filter_imgfmt when printing
qemu's command line and _filter_testdir only afterwards. Therefore, if
the image format is part of the test directory path, _filter_testdir
will no longer apply and the actual output will differ from the
reference output even in case of success.
For example, TEST_DIR might be "/tmp/test-qcow2", in which case
_filter_imgfmt first transforms this to "/tmp/test-IMGFMT" which is no
longer recognized as the TEST_DIR by _filter_testdir.
Fix this by not applying _filter_imgfmt in do_run_qemu() but in
run_qemu() instead, and only after _filter_testdir.
Signed-off-by: Max Reitz <mreitz@redhat.com >
Message-id: 20170927211334.3988-1-mreitz@redhat.com
Reviewed-by: Eric Blake <eblake@redhat.com >
Signed-off-by: Max Reitz <mreitz@redhat.com >
2017-10-06 16:30:47 +02:00
..
2017-08-09 04:22:13 +03:00
2017-07-18 05:49:01 -05:00
2017-09-29 11:14:15 +08:00
2017-09-22 10:46:25 +08:00
2017-09-19 18:21:32 +02:00
2017-08-30 12:02:11 +01:00
2017-08-11 13:23:19 +02:00
2017-09-01 12:51:04 +02:00
2017-10-06 16:30:47 +02:00
2017-07-11 17:45:00 +02:00
2017-07-20 10:10:28 +01:00
2017-09-22 14:51:43 +08:00
2017-09-22 10:46:25 +08:00
2017-05-03 12:29:40 +02:00
2017-07-18 11:47:57 -04:00
2017-09-04 10:45:19 +01:00
2017-09-04 10:45:19 +01:00
2017-09-04 10:45:19 +01:00
2017-08-02 00:13:26 +03:00
2017-09-26 09:11:23 +03:00
2017-08-22 11:09:59 +10:00
2017-06-20 14:31:33 +02:00
2017-09-04 13:09:11 +02:00
2017-06-20 14:31:31 +02:00
2017-09-04 13:09:12 +02:00
2017-07-24 13:35:11 +02:00
2017-06-20 14:31:31 +02:00
2017-09-04 13:09:13 +02:00
2017-06-20 14:31:31 +02:00
2017-09-04 10:45:19 +01:00
2017-07-17 15:41:30 -03:00
2017-09-19 18:21:32 +02:00
2017-05-09 09:14:40 +02:00
2017-08-10 14:33:43 +01:00
2017-09-05 13:21:58 +01:00
2017-09-15 09:05:19 +02:00
2017-09-15 09:05:19 +02:00
2017-09-19 18:21:32 +02:00
2017-06-15 11:04:05 +02:00
2017-09-15 09:05:19 +02:00
2017-05-11 11:08:40 +02:00
2017-04-26 14:42:31 +01:00
2017-06-02 11:33:52 +04:00
2017-09-19 16:19:39 +02:00
2017-08-30 18:23:25 +02:00
2017-06-16 18:44:55 +03:00
2017-07-17 13:11:05 +01:00
2017-09-04 13:09:13 +02:00
2017-04-26 14:42:31 +01:00
2017-08-01 17:27:33 +02:00
2017-03-14 13:28:29 +01:00
2017-03-14 13:28:29 +01:00
2017-05-24 16:38:51 -04:00
2017-05-24 16:38:51 -04:00
2017-07-14 11:04:34 +02:00
2017-05-31 16:04:05 +02:00
2017-07-11 17:44:56 +02:00
2017-08-30 18:23:25 +02:00
2017-08-30 18:23:25 +02:00
2017-10-06 16:28:58 +02:00
2017-09-15 09:05:19 +02:00
2017-05-09 09:14:40 +02:00
2017-09-05 13:21:58 +01:00
2017-09-05 22:34:40 +02:00
2017-06-19 14:56:29 +02:00
2017-08-30 18:23:25 +02:00
2017-03-22 19:24:34 +01:00
2017-09-04 13:09:13 +02:00
2017-07-17 15:41:30 -03:00
2017-05-09 09:13:51 +02:00
2017-09-15 09:05:18 +02:00
2017-06-20 14:31:31 +02:00
2017-06-20 14:31:31 +02:00
2017-09-04 13:09:13 +02:00
2017-09-04 13:09:13 +02:00
2017-05-11 11:08:41 +02:00
2017-09-04 13:09:13 +02:00
2017-09-04 13:09:13 +02:00
2017-09-05 18:12:21 +02:00
2017-03-07 16:07:47 +01:00
2017-09-27 11:44:18 +01:00
2017-06-20 14:31:31 +02:00
2017-05-18 18:04:54 +02:00
2017-09-15 09:05:18 +02:00
2017-09-15 09:05:18 +02:00
2017-09-08 16:15:17 +03:00
2017-09-05 19:31:13 +01:00
2017-03-27 21:15:31 +02:00
2017-06-30 11:03:45 +01:00
2017-06-30 11:03:45 +01:00
2017-09-19 14:09:31 +02:00
2017-09-15 09:05:18 +02:00
2017-09-05 22:34:40 +02:00