qemu-e2k/tests/qemu-iotests
John Snow 456a2d5ac7 iotests: add testing shim for script-style python tests
Because the new-style python tests don't use the iotests.main() test
launcher, we don't turn on the debugger logging for these scripts
when invoked via ./check -d.

Refactor the launcher shim into new and old style shims so that they
share environmental configuration.

Two cleanup notes: debug was not actually used as a global, and there
was no reason to create a class in an inner scope just to achieve
default variables; we can simply create an instance of the runner with
the values we want instead.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-id: 20190709232550.10724-14-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
2019-08-16 16:28:02 -04:00
..
sample_images qemu-iotests: add test case for dmg 2019-02-01 13:46:44 +01:00
.gitignore
001 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
001.out
002 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
002.out
003 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
003.out
004 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
004.out
005 tests/qemu-iotests/005: Add a sanity check for large sparse file support 2019-05-21 10:05:21 +02:00
005.out
007 tests/qemu-iotests: Don't use 'seq' in the iotests 2019-07-23 15:53:25 +01:00
007.out
008 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
008.out
009 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
009.out
010 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
010.out
011 tests/qemu-iotests: Don't use 'seq' in the iotests 2019-07-23 15:53:25 +01:00
011.out
012 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
012.out
013 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
013.out
014 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
014.out
015 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
015.out
017 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
017.out
018 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
018.out
019 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
019.out
020 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
020.out
021 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
021.out
022 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
022.out
023 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
023.out
024 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
024.out iotests: Add test for rebasing with relative paths 2018-06-11 16:18:45 +02:00
025 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
025.out
026 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
026.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
026.out.nocache qemu-iotests: Test qcow2 not leaking clusters on write error 2018-06-29 14:20:56 +02:00
027 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
027.out
028 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
028.out
029 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
029.out
030 iotests: Add read-only test case to 030 2019-07-15 15:48:40 +02:00
030.out iotests: Add read-only test case to 030 2019-07-15 15:48:40 +02:00
031 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
031.out qcow2: Basic definitions for external data files 2019-03-08 12:26:45 +01:00
032 tests/qemu-iotests: Don't use 'seq' in the iotests 2019-07-23 15:53:25 +01:00
032.out
033 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
033.out
034 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
034.out
035 tests/qemu-iotests: Don't use 'seq' in the iotests 2019-07-23 15:53:25 +01:00
035.out
036 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
036.out qcow2: Basic definitions for external data files 2019-03-08 12:26:45 +01:00
037 tests/qemu-iotests: Don't use 'seq' in the iotests 2019-07-23 15:53:25 +01:00
037.out
038 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
038.out
039 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
039.out
040 iotests: Test commit with a filter on the chain 2019-07-19 13:19:17 +02:00
040.out iotests: Test commit with a filter on the chain 2019-07-19 13:19:17 +02:00
041 iotests: Replace assertEquals() with assertEqual() 2018-11-21 10:30:05 +01:00
041.out mirror: Fail gracefully for source == target 2018-08-15 12:50:39 +02:00
042 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
042.out
043 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
043.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
044 iotests: Different iterator behavior in Python 3 2018-10-30 21:11:52 -03:00
044.out
045 iotests: Let 045 be run concurrently 2019-02-25 15:11:28 +01:00
045.out
046 tests/qemu-iotests: Don't use 'seq' in the iotests 2019-07-23 15:53:25 +01:00
046.out
047 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
047.out
048 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
048.out
049 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
049.out block: Clean up bdrv_img_create()'s error reporting 2018-10-19 14:51:34 +02:00
050 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
050.out
051 iotests: Set read-zeroes on in null block driver for Valgrind 2019-07-19 13:19:09 +02:00
051.out Fixes: add read-zeroes to 051.out 2019-07-30 12:25:43 +02:00
051.pc.out iotests: Set read-zeroes on in null block driver for Valgrind 2019-07-19 13:19:09 +02:00
052 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
052.out
053 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
053.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
054 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
054.out
055
055.out
056 iotests: Test backup job with two guest writes 2019-08-06 13:17:17 +02:00
056.out iotests: Test backup job with two guest writes 2019-08-06 13:17:17 +02:00
057
057.out
058 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
058.out
059 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
059.out vmdk: Reduce the max bound for L1 table size 2019-06-24 15:53:02 +02:00
060 qcow2: skip writing zero buffers to empty COW areas 2019-05-28 20:30:55 +02:00
060.out qcow2: skip writing zero buffers to empty COW areas 2019-05-28 20:30:55 +02:00
061 qemu-iotests: amend with external data file 2019-03-08 12:26:46 +01:00
061.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
062 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
062.out
063 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
063.out qcow2: Fix src_offset in copy offloading 2018-06-29 14:20:56 +02:00
064 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
064.out
065 iotests: Different iterator behavior in Python 3 2018-10-30 21:11:52 -03:00
065.out
066 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
066.out
067 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
067.out block-backend: Set werror/rerror defaults in blk_new() 2018-10-01 19:13:46 +02:00
068 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
068.out
069 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
069.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
070 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
070.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
071 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
071.out qmp: Split ShutdownCause host-qmp into quit and system-reset 2018-12-18 07:55:47 +01:00
072 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
072.out
073 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
073.out
074 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
074.out
075 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
075.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
076 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
076.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
077 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
077.out
078 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
078.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
079 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
079.out
080 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
080.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
081 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
081.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
082 iotests: Test qemu-img convert -C --salvage 2019-06-14 15:09:42 +02:00
082.out iotests: Update 082 expected output 2019-07-12 15:42:23 +02:00
083 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
083.out tests/qemu-iotests: Fix more reference output files due to recent qemu-io change 2019-05-07 09:43:42 -05:00
084 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
084.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
085 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
085.out blockdev: Overlays are not snapshots 2019-06-14 14:16:57 +02:00
086 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
086.out
087 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
087.out qmp: Split ShutdownCause host-qmp into quit and system-reset 2018-12-18 07:55:47 +01:00
088 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
088.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
089 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
089.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
090 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
090.out
091 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
091.out
092 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
092.out tests/qemu-iotests: Fix more reference output files due to recent qemu-io change 2019-05-07 09:43:42 -05:00
093 iotests: Set read-zeroes on in null block driver for Valgrind 2019-07-19 13:19:09 +02:00
093.out qemu-iotests: Test removing a throttle group member with a pending timer 2018-08-15 12:50:39 +02:00
094 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
094.out qmp: Split ShutdownCause host-qmp into quit and system-reset 2018-12-18 07:55:47 +01:00
095 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
095.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
096 python: futurize -f lib2to3.fixes.fix_has_key 2018-06-08 14:39:24 -03:00
096.out
097 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
097.out
098 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
098.out
099 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
099.out
101 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
101.out
102 block: avoid recursive block_status call if possible 2019-06-04 15:20:41 +02:00
102.out block: avoid recursive block_status call if possible 2019-06-04 15:20:41 +02:00
103 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
103.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
104 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
104.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
105 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
105.out
106 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
106.out
107 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
107.out
108 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
108.out
109 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
109.out qmp: Split ShutdownCause host-qmp into quit and system-reset 2018-12-18 07:55:47 +01:00
110 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
110.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
111 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
111.out
112 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
112.out block: Add Error parameter to bdrv_amend_options 2018-06-11 16:18:45 +02:00
113 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
113.out iotests: Rework 113 2018-06-11 16:18:45 +02:00
114 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
114.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
115 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
115.out
116 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
116.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
117 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
117.out qmp: Split ShutdownCause host-qmp into quit and system-reset 2018-12-18 07:55:47 +01:00
118 iotests/118: Add -blockdev based tests 2019-08-16 10:25:16 +02:00
118.out iotests/118: Add -blockdev based tests 2019-08-16 10:25:16 +02:00
119 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
119.out qmp: Split ShutdownCause host-qmp into quit and system-reset 2018-12-18 07:55:47 +01:00
120 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
120.out qmp: Split ShutdownCause host-qmp into quit and system-reset 2018-12-18 07:55:47 +01:00
121 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
121.out
122 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
122.out qemu-img: align result of is_allocated_sectors 2018-07-12 18:24:08 +02:00
123 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
123.out
124 iotests: Test incremental backup after truncation 2019-08-06 13:17:24 +02:00
124.out iotests: Test incremental backup after truncation 2019-08-06 13:17:24 +02:00
125 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
125.out
126 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
126.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
127 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
127.out qmp: Split ShutdownCause host-qmp into quit and system-reset 2018-12-18 07:55:47 +01:00
128 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
128.out
129
129.out
130 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
130.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
131 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
131.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
132
132.out
133 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
133.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
134 iotest 134: test cluster-misaligned encrypted write 2019-06-24 15:53:01 +02:00
134.out iotest 134: test cluster-misaligned encrypted write 2019-06-24 15:53:01 +02:00
135 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
135.out
136 iotests: Set read-zeroes on in null block driver for Valgrind 2019-07-19 13:19:09 +02:00
136.out
137 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
137.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
138 qcow2-refcount: avoid eating RAM 2019-05-07 17:14:21 +02:00
138.out qcow2-refcount: avoid eating RAM 2019-05-07 17:14:21 +02:00
139 iotests: check whitelisted formats 2019-03-08 12:26:45 +01:00
139.out
140 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
140.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
141 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
141.out block: avoid recursive block_status call if possible 2019-06-04 15:20:41 +02:00
142 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
142.out
143 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
143.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
144 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
144.out block: avoid recursive block_status call if possible 2019-06-04 15:20:41 +02:00
145 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
145.out
146 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
146.out
147 iotests.py: Add qemu_nbd_early_pipe() 2019-06-13 08:50:47 -05:00
147.out
148
148.out
149 iotests: Use // for Python integer division 2018-10-30 21:11:52 -03:00
149.out qemu-iotests: Use host_device instead of file in 149 2018-07-23 16:50:43 +02:00
150 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
150.out
151 iotests: Test unaligned blocking mirror write 2019-08-06 13:17:26 +02:00
151.out iotests: Test unaligned blocking mirror write 2019-08-06 13:17:26 +02:00
152
152.out
153 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
153.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
154 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
154.out
155 iotests: Move qmp_to_opts() to VM 2018-05-23 14:30:51 +02:00
155.out
156 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
156.out qmp: Split ShutdownCause host-qmp into quit and system-reset 2018-12-18 07:55:47 +01:00
157 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
157.out
158 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
158.out
159 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
159.out
160 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
160.out
161 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
161.out block: Update BlockDriverState.inherits_from on bdrv_drop_intermediate() 2018-11-22 19:37:31 +01:00
162 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
162.out
163 iotests: Different iterator behavior in Python 3 2018-10-30 21:11:52 -03:00
163.out
165 python: futurize -f libfuturize.fixes.fix_print_with_import 2018-06-08 14:39:24 -03:00
165.out
169 iotest: fix 169: do not run qmp_cont in RUN_STATE_FINISH_MIGRATE 2019-05-20 17:08:56 +02:00
169.out iotests: 169: add cases for source vm resuming 2018-10-29 16:23:17 -04:00
170 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
170.out
171 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
171.out
172 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
172.out
173 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
173.out
174 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
174.out
175 iotests: Filter 175's allocation information 2019-06-14 14:16:57 +02:00
175.out iotests: Filter 175's allocation information 2019-06-14 14:16:57 +02:00
176 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
176.out qmp: Split ShutdownCause host-qmp into quit and system-reset 2018-12-18 07:55:47 +01:00
177 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
177.out
178 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
178.out.qcow2 iotests: add LUKS payload overhead to 178 qemu-img measure test 2019-02-25 15:11:28 +01:00
178.out.raw
179 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
179.out
181 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
181.out
182 iotests: Test failure to loosen restrictions 2019-06-18 16:41:10 +02:00
182.out iotests: Test failure to loosen restrictions 2019-06-18 16:41:10 +02:00
183 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
183.out qmp: Split ShutdownCause host-qmp into quit and system-reset 2018-12-18 07:55:47 +01:00
184 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
184.out qmp: Split ShutdownCause host-qmp into quit and system-reset 2018-12-18 07:55:47 +01:00
185 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
185.out qmp: Split ShutdownCause host-qmp into quit and system-reset 2018-12-18 07:55:47 +01:00
186 iotests: Set read-zeroes on in null block driver for Valgrind 2019-07-19 13:19:09 +02:00
186.out iotests: Set read-zeroes on in null block driver for Valgrind 2019-07-19 13:19:09 +02:00
187 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
187.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
188 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
188.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
189 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
189.out
190 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
190.out
191 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
191.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
192 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
192.out
194
194.out iotests: Unify log outputs between Python 2 and 3 2018-10-30 21:13:54 -03:00
195 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
195.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
196
196.out
197 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
197.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
198 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
198.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
199
199.out
200 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
200.out
201 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
201.out
202
202.out iotests: Unify log outputs between Python 2 and 3 2018-10-30 21:13:54 -03:00
203
203.out iotests: Unify log outputs between Python 2 and 3 2018-10-30 21:13:54 -03:00
204 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
204.out
205 iotests: Fix 205 for concurrent runs 2019-06-24 16:01:40 +02:00
205.out
206 iotests: change qmp_log filters to expect QMP objects only 2019-01-14 10:09:46 -06:00
206.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
207 ssh: switch from libssh2 to libssh 2019-06-24 16:01:04 +02:00
207.out ssh: switch from libssh2 to libssh 2019-06-24 16:01:04 +02:00
208
208.out iotests: Unify log outputs between Python 2 and 3 2018-10-30 21:13:54 -03:00
209
209.out nbd/client: Report offsets in bdrv_block_status 2019-03-30 20:52:29 -05:00
210 iotests: Re-add filename filters 2019-02-25 15:11:27 +01:00
210.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
211 iotests: Skip 211 on insufficient memory 2019-02-25 15:11:28 +01:00
211.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
212 iotests: Re-add filename filters 2019-02-25 15:11:27 +01:00
212.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
213 iotests: Re-add filename filters 2019-02-25 15:11:27 +01:00
213.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
214 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
214.out
215 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
215.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
216 iotests: Let 216 make use of qemu-io's exit code 2018-06-11 16:18:45 +02:00
216.out iotests: Unify log outputs between Python 2 and 3 2018-10-30 21:13:54 -03:00
217 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
217.out iotests: Repairing error during snapshot deletion 2018-06-11 16:18:45 +02:00
218 iotests: Test quitting with job on throttled node 2019-07-19 15:17:55 +02:00
218.out iotests: Test quitting with job on throttled node 2019-07-19 15:17:55 +02:00
219 iotests: Fix intermittent failure in 219 2019-06-14 14:16:57 +02:00
219.out iotests: Unify log outputs between Python 2 and 3 2018-10-30 21:13:54 -03:00
220 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
220.out qcow2: Return 0/-errno in qcow2_alloc_compressed_cluster_offset() 2019-03-08 12:26:45 +01:00
221 iotests: Test unaligned raw images with O_DIRECT 2019-05-20 17:08:57 +02:00
221.out iotests: Tweak 221 sizing for different hole granularities 2019-05-07 09:43:42 -05:00
222 iotests: 222: Don't run with luks 2018-07-10 11:55:11 +02:00
222.out iotests: Unify log outputs between Python 2 and 3 2018-10-30 21:13:54 -03:00
223 nbd patches for 2019-03-08 2019-03-09 20:55:44 +00:00
223.out nbd/server: Advertise actual minimum block size 2019-04-01 08:52:28 -05:00
224 iotests: Test json:{} filenames of internal BDSs 2019-02-25 15:11:27 +01:00
224.out iotests: Test json:{} filenames of internal BDSs 2019-02-25 15:11:27 +01:00
225 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
225.out iotests: Add VMDK backing file correlation test 2018-07-09 19:43:24 +02:00
226 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
226.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
227 iotests: Set read-zeroes on in null block driver for Valgrind 2019-07-19 13:19:09 +02:00
227.out iotests: Set read-zeroes on in null block driver for Valgrind 2019-07-19 13:19:09 +02:00
228 block: Purify .bdrv_refresh_filename() 2019-02-25 15:11:27 +01:00
228.out block: Purify .bdrv_refresh_filename() 2019-02-25 15:11:27 +01:00
229 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
229.out iotests: Filter second BLOCK_JOB_ERROR from 229 2019-02-01 13:46:45 +01:00
231 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
231.out block/rbd: add iotest for rbd legacy keyvalue filename parsing 2018-09-24 23:46:05 -04:00
232 qemu-iotests: Fix 232 for non-qcow2 2019-03-19 15:49:29 +01:00
232.out qemu-iotests: Fix 232 for non-qcow2 2019-03-19 15:49:29 +01:00
233 iotests: Let 233 run concurrently 2019-06-13 08:50:47 -05:00
233.out iotests: Fix 233 for ports other than 10809 2019-05-07 09:43:42 -05:00
234 iotests: Move migration helpers to iotests.py 2019-08-16 10:25:16 +02:00
234.out iotests: Make 234 stable 2019-02-01 13:46:44 +01:00
235 python/qemu: split QEMUMachine out from underneath __init__.py 2019-07-01 19:02:10 -03:00
235.out iotests: simple mirror test with kvm on 1G image 2018-12-03 16:51:53 +01:00
236 iotests: add iotest 236 for testing bitmap merge 2019-01-14 10:09:46 -06:00
236.out block/dirty-bitmap: add recording and busy properties 2019-03-12 12:05:48 -04:00
237 iotests: Fix 237 for Python 2.x 2019-02-25 15:11:27 +01:00
237.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
238 iotests: Set read-zeroes on in null block driver for Valgrind 2019-07-19 13:19:09 +02:00
238.out iotests: add 238 for throttling tgm unregister iothread segfault 2019-01-24 10:02:28 +00:00
239 tests/qemu-iotests: Do not hard-code the path to bash 2019-05-21 10:10:33 +02:00
239.out qemu-iotests: add test case for dmg 2019-02-01 13:46:44 +01:00
240 iotests: Set read-zeroes on in null block driver for Valgrind 2019-07-19 13:19:09 +02:00
240.out scsi-disk: Use qdev_prop_drive_iothread 2019-06-04 15:22:22 +02:00
241 tests/qemu-iotests: Do not hard-code the path to bash 2019-05-21 10:10:33 +02:00
241.out iotest: Fix 241 to run in generic directory 2019-04-12 18:03:01 +02:00
242 iotests: handle TypeError for Python 3 in test 242 2019-02-26 10:37:06 -06:00
242.out qemu-img: Saner printing of large file sizes 2019-04-30 15:29:00 +02:00
243 tests/qemu-iotests: Do not hard-code the path to bash 2019-05-21 10:10:33 +02:00
243.out qemu-iotests: Preallocation with external data file 2019-03-08 12:26:46 +01:00
244 tests/qemu-iotests: Do not hard-code the path to bash 2019-05-21 10:10:33 +02:00
244.out tests/qemu-iotests: Fix output of qemu-io related tests 2019-04-30 15:29:00 +02:00
245 block/stream: introduce a bottom node 2019-07-02 03:53:05 +02:00
245.out iotests: Make 245 faster and more reliable 2019-05-20 17:08:57 +02:00
246 tests/qemu-iotests: add bitmap resize test 246 2019-03-12 15:00:48 -04:00
246.out tests/qemu-iotests: add bitmap resize test 246 2019-03-12 15:00:48 -04:00
247 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
247.out qemu-iotests: Fix 232 for non-qcow2 2019-03-19 15:49:29 +01:00
248 iotests: add 248: test resume mirror after auto pause on ENOSPC 2019-03-26 11:37:51 +01:00
248.out iotests: add 248: test resume mirror after auto pause on ENOSPC 2019-03-26 11:37:51 +01:00
249 iotests: Check that images are in read-only mode after block-commit 2019-04-30 15:29:00 +02:00
249.out iotests: Check that images are in read-only mode after block-commit 2019-04-30 15:29:00 +02:00
250 iotests: test big qcow2 shrink 2019-06-04 16:55:58 +02:00
250.out iotests: test big qcow2 shrink 2019-06-04 16:55:58 +02:00
251 iotests: Test qemu-img convert --salvage 2019-06-14 15:09:27 +02:00
251.out iotests: Test qemu-img convert --salvage 2019-06-14 15:09:27 +02:00
252 iotests: Add test for rebase without input base 2019-05-10 16:45:40 +02:00
252.out iotests: Add test for rebase without input base 2019-05-10 16:45:40 +02:00
253 iotests: Test unaligned raw images with O_DIRECT 2019-05-20 17:08:57 +02:00
253.out iotests: Test unaligned raw images with O_DIRECT 2019-05-20 17:08:57 +02:00
254 iotests: restrict 254 to support only qcow2 2019-06-14 14:16:57 +02:00
254.out iotests: test external snapshot with bitmap copying 2019-05-28 19:33:31 -04:00
255 iotests: Add @has_quit to vm.shutdown() 2019-07-19 13:19:17 +02:00
255.out iotests: Test cancelling a job and closing the VM 2019-06-04 15:20:41 +02:00
256 iotests: add iotest 256 for testing blockdev-backup across iothread contexts 2019-06-14 14:16:57 +02:00
256.out iotests: add iotest 256 for testing blockdev-backup across iothread contexts 2019-06-14 14:16:57 +02:00
258 iotests: Add test for concurrent stream/commit 2019-08-16 10:25:16 +02:00
258.out iotests: Add test for concurrent stream/commit 2019-08-16 10:25:16 +02:00
262 iotests: Test migration with all kinds of filter nodes 2019-08-16 10:25:16 +02:00
262.out iotests: Test migration with all kinds of filter nodes 2019-08-16 10:25:16 +02:00
check tests/qemu-iotests/check: Allow tests without groups 2019-07-23 15:53:25 +01:00
common.config qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
common.filter qemu-iotests: Ensure GNU sed is used 2019-03-08 12:26:45 +01:00
common.nbd iotests: Let 233 run concurrently 2019-06-13 08:50:47 -05:00
common.pattern tests/qemu-iotests: Don't use 'seq' in the iotests 2019-07-23 15:53:25 +01:00
common.qemu qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
common.rc iotests: Use qemu-nbd's --pid-file 2019-06-13 08:50:47 -05:00
common.tls qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
group iotests: Add test for concurrent stream/commit 2019-08-16 10:25:16 +02:00
iotests.py iotests: add testing shim for script-style python tests 2019-08-16 16:28:02 -04:00
Makefile
nbd-fault-injector.py iotests: Modify imports for Python 3 2018-10-30 21:13:54 -03:00
qcow2.py iotests: Use Python byte strings where appropriate 2018-10-30 21:11:52 -03:00
qed.py iotests: Use // for Python integer division 2018-10-30 21:11:52 -03:00
README
socket_scm_helper.c

=== This is the QEMU I/O test suite ===

* Intro

This package contains a simple test suite for the I/O layer of qemu.
It does not require a guest, but only the qemu, qemu-img and qemu-io
binaries.  This does limit it to exercise the low-level I/O path only
but no actual block drivers like ide, scsi or virtio.

* Usage

Just run ./check to run all tests for the raw image format, or ./check
-qcow2 to test the qcow2 image format.  The output of ./check -h explains
additional options to test further image formats or I/O methods.

* Feedback and patches

Please send improvements to the test suite, general feedback or just
reports of failing tests cases to qemu-devel@nongnu.org with a CC:
to qemu-block@nongnu.org.