qemu/tests/qemu-iotests
Kevin Wolf d926f4ddd2 iotests: Skip read-only cases in 118 when run as root
Some tests in 118 use chmod to remove write permissions from the file
and assume that the image can indeed not be opened read-write
afterwards. This doesn't work when the test is run as root, because root
can still open the file as writable even when the permission bit isn't
set.

Introduce a @skip_if_root decorator and use it in 118 to skip the tests
in question when the script is run as root.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
2019-10-25 15:15:01 +02: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 iotests: Disable broken streamOptimized tests 2019-09-03 14:55:35 +02:00
002.out
003 iotests: Disable broken streamOptimized tests 2019-09-03 14:55:35 +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 iotests: Disable broken streamOptimized tests 2019-09-03 14:55:35 +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 iotests: Disable broken streamOptimized tests 2019-09-03 14:55:35 +02:00
009.out
010 iotests: Disable broken streamOptimized tests 2019-09-03 14:55:35 +02:00
010.out
011 iotests: Disable broken streamOptimized tests 2019-09-03 14:55:35 +02: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 iotests: Disable broken streamOptimized tests 2019-09-03 14:55:35 +02:00
017.out
018 iotests: Disable broken streamOptimized tests 2019-09-03 14:55:35 +02:00
018.out
019 iotests: Disable broken streamOptimized tests 2019-09-03 14:55:35 +02:00
019.out
020 iotests: Disable broken streamOptimized tests 2019-09-03 14:55:35 +02:00
020.out iotests: Fix 020 for vmdk 2018-01-23 12:34:43 +01:00
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 qemu-iotests: ignore leaks on failure paths in 026 2019-10-10 10:56:17 +02:00
026.out qemu-iotests: ignore leaks on failure paths in 026 2019-10-10 10:56:17 +02:00
026.out.nocache qemu-iotests: ignore leaks on failure paths in 026 2019-10-10 10:56:17 +02:00
027 iotests: Disable broken streamOptimized tests 2019-09-03 14:55:35 +02:00
027.out
028 iotests/028: Fix for long $TEST_DIRs 2019-10-14 17:12:48 +02:00
028.out iotests/028: Fix for long $TEST_DIRs 2019-10-14 17:12:48 +02:00
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: Restrict file Python tests to file 2019-09-10 08:58:43 +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 iotests: Disable broken streamOptimized tests 2019-09-03 14:55:35 +02:00
032.out
033 iotests: Disable broken streamOptimized tests 2019-09-03 14:55:35 +02:00
033.out iotest 033: add misaligned write-zeroes test via truncate 2018-03-02 18:39:07 +01:00
034 iotests: Disable broken streamOptimized tests 2019-09-03 14:55:35 +02: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 iotests: Disable broken streamOptimized tests 2019-09-03 14:55:35 +02: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 iotests: exclude killed processes from running under Valgrind 2019-09-13 12:18:37 +02:00
039.out iotests: allow Valgrind checking all QEMU processes 2019-09-13 12:18:37 +02:00
040 iotests: Restrict file Python tests to file 2019-09-10 08:58:43 +02:00
040.out iotests: Test commit with a filter on the chain 2019-07-19 13:19:17 +02:00
041 iotests: Restrict file Python tests to file 2019-09-10 08:58:43 +02:00
041.out iotests: Full mirror to existing non-zero image 2019-08-19 17:13:26 +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: Remove Python 2 compatibility code 2019-10-04 11:59:16 +02:00
044.out
045 iotests: Restrict file Python tests to file 2019-09-10 08:58:43 +02: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: Valgrind fails with nonexistent directory 2019-09-13 12:18:37 +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 iotests: Unify cache mode quoting 2019-09-03 14:56:06 +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 iotests: Restrict file Python tests to file 2019-09-10 08:58:43 +02:00
055.out
056 block/backup: use backup-top instead of write notifiers 2019-10-10 10:56:18 +02:00
056.out iotests: Test backup job with two guest writes 2019-08-06 13:17:17 +02:00
057 iotests: Restrict file Python tests to file 2019-09-10 08:58:43 +02:00
057.out
058 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
058.out
059 iotests: Keep testing broken relative extent paths 2019-09-03 14:55:35 +02:00
059.out iotests: Keep testing broken relative extent paths 2019-09-03 14:55:35 +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 iotests: exclude killed processes from running under Valgrind 2019-09-13 12:18:37 +02:00
061.out iotests: allow Valgrind checking all QEMU processes 2019-09-13 12:18:37 +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 iotests: Disable broken streamOptimized tests 2019-09-03 14:55:35 +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: Restrict file Python tests to file 2019-09-10 08:58:43 +02: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 iotests: Check for enabled drivers before testing them 2019-09-03 14:56:06 +02:00
071.out qmp: Split ShutdownCause host-qmp into quit and system-reset 2018-12-18 07:55:47 +01:00
072 iotests: Disable broken streamOptimized tests 2019-09-03 14:55:35 +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 qemu-img: Drop redundant error message in compare 2017-10-26 14:45:57 +02:00
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 iotests: 077: Filter out 'resume' lines 2017-11-14 18:06:25 +01:00
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 iotests: Check for enabled drivers before testing them 2019-09-03 14:56:06 +02: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 iotests: Unify cache mode quoting 2019-09-03 14:56:06 +02: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: Add virtio-scsi device helper 2019-08-16 16:28:02 -04: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 iotests: Restrict file Python tests to file 2019-09-10 08:58:43 +02: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 iotests: Check for enabled drivers before testing them 2019-09-03 14:56:06 +02: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 iotests: Disable broken streamOptimized tests 2019-09-03 14:55:35 +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 iotests: Test preallocated truncate of 2G image 2018-04-03 17:39:37 +02:00
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 iotests: Disable 110 for vmdk.twoGbMaxExtentSparse 2019-09-03 14:55:35 +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: Skip read-only cases in 118 when run as root 2019-10-25 15:15:01 +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 iotests: Check for enabled drivers before testing them 2019-09-03 14:56:06 +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 qcow2: Reset free_cluster_index when allocating a new refcount block 2018-03-26 12:16:00 +02:00
122 iotests: Test convert -n to pre-filled image 2019-08-19 17:13:26 +02:00
122.out iotests: Test convert -n to pre-filled image 2019-08-19 17:13:26 +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: prepare 124 and 257 bitmap querying for backup-top filter 2019-10-10 10:56:17 +02:00
124.out iotests: Test incremental backup after truncation 2019-08-06 13:17:24 +02:00
125 iotests: Use stat -c %b in 125 2019-10-10 10:56:18 +02:00
125.out iotests: Add cluster_size=64k to 125 2017-10-26 15:01:14 +02:00
126 iotests: Disable 126 for flat vmdk subformats 2019-09-03 14:55:35 +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 iotests: Restrict file Python tests to file 2019-09-10 08:58:43 +02:00
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 iotests: Restrict file Python tests to file 2019-09-10 08:58:43 +02:00
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 iotests: exclude killed processes from running under Valgrind 2019-09-13 12:18:37 +02:00
137.out iotests: allow Valgrind checking all QEMU processes 2019-09-13 12:18:37 +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: Restrict file Python tests to file 2019-09-10 08:58:43 +02: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 iotests: Fix 141 when run with qed 2019-08-19 17:13:26 +02:00
141.out block/backup: use backup-top instead of write notifiers 2019-10-10 10:56:18 +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 block: fix iotest 146 output expectations 2018-03-19 12:01:39 +01:00
147 iotests: Restrict nbd Python tests to nbd 2019-09-10 08:58:43 +02:00
147.out iotest 147: add cases to test new @name parameter of nbd-server-add 2018-01-26 09:37:21 -06:00
148 iotests: Restrict file Python tests to file 2019-09-10 08:58:43 +02:00
148.out
149 tests: fix I/O test for hosts defaulting to LUKSv2 2019-10-10 10:56:18 +02:00
149.out tests: fix I/O test for hosts defaulting to LUKSv2 2019-10-10 10:56:18 +02:00
150 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
150.out.qcow2 block: posix: Always allocate the first block 2019-09-03 14:55:35 +02:00
150.out.raw block: posix: Always allocate the first block 2019-09-03 14:55:35 +02:00
151 iotests: Restrict file Python tests to file 2019-09-10 08:58:43 +02:00
151.out iotests: Test unaligned blocking mirror write 2019-08-06 13:17:26 +02:00
152 iotests: Restrict file Python tests to file 2019-09-10 08:58:43 +02:00
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: Restrict file Python tests to file 2019-09-10 08:58:43 +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 iotests/162: Fix for newer Linux 5.3+ 2019-10-10 12:13:23 +02:00
162.out iotests/162: Fix for newer Linux 5.3+ 2019-10-10 12:13:23 +02:00
163 iotests: Remove Python 2 compatibility code 2019-10-04 11:59:16 +02:00
163.out
165 iotests: add test-case to 165 to test reopening qcow2 bitmaps to RW 2019-10-17 17:02:32 -04:00
165.out iotests: add test-case to 165 to test reopening qcow2 bitmaps to RW 2019-10-17 17:02:32 -04:00
169 iotests: Restrict file Python tests to file 2019-09-10 08:58:43 +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 Replace '-machine accel=xyz' with '-accel xyz' 2019-09-19 12:01:48 +02: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: Test allocate_first_block() with O_DIRECT 2019-09-03 14:55:35 +02:00
175.out iotests: Test allocate_first_block() with O_DIRECT 2019-09-03 14:55:35 +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 iotests: Split 177 into two parts for compat=0.10 2018-01-23 12:34:43 +01:00
178 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
178.out.qcow2 block: posix: Always allocate the first block 2019-09-03 14:55:35 +02: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 iotests: extended timeout under Valgrind 2019-09-13 12:18:37 +02:00
183.out qmp: Split ShutdownCause host-qmp into quit and system-reset 2018-12-18 07:55:47 +01:00
184 iotests: Check for enabled drivers before testing them 2019-09-03 14:56:06 +02: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: Check for enabled drivers before testing them 2019-09-03 14:56:06 +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 iotests: Convert to preallocated encrypted qcow2 2019-08-19 17:13:26 +02:00
188.out iotests: Convert to preallocated encrypted qcow2 2019-08-19 17:13:26 +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 iotests: extended timeout under Valgrind 2019-09-13 12:18:37 +02:00
192.out
194 qemu-iotests: Remove _supported_fmt dmg 2018-04-10 16:33:43 +02:00
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 iotests: Restrict file Python tests to file 2019-09-10 08:58:43 +02:00
196.out iotests: test clearing unknown autoclear_features by qcow2 2017-11-17 18:06:21 +01:00
197 iotests: Disable broken streamOptimized tests 2019-09-03 14:55:35 +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 iotests: Restrict file Python tests to file 2019-09-10 08:58:43 +02:00
199.out iotests: add dirty bitmap postcopy test 2018-03-13 17:06:32 -04:00
200 tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests 2019-05-21 10:13:58 +02:00
200.out qemu-iotest: add test for blockjob coroutine race condition 2017-11-21 11:58:12 -05:00
201 qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
201.out tests/qemu-iotests: adding savevm/loadvm with postcopy flag test 2018-01-23 12:33:07 +01:00
202 qemu-iotests: add 202 external snapshots IOThread test 2017-12-19 10:25:09 +00:00
202.out iotests: Unify log outputs between Python 2 and 3 2018-10-30 21:13:54 -03:00
203 qemu-iotests: fix 203 migration completion race 2018-03-09 15:40:07 +01:00
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 iotests: Split 177 into two parts for compat=0.10 2018-01-23 12:34:43 +01:00
205 iotests: Restrict nbd Python tests to nbd 2019-09-10 08:58:43 +02:00
205.out iotest 205: new test for qmp nbd-server-remove 2018-01-26 09:37:21 -06:00
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 iotests: blacklist bochs and cloop for 205 and 208 2018-04-10 16:33:08 +02:00
208.out iotests: Unify log outputs between Python 2 and 3 2018-10-30 21:13:54 -03:00
209 iotests: new test 209 for NBD BLOCK_STATUS 2018-03-13 15:44:09 -05:00
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 iotests: Split 214 off of 122 2018-05-15 16:15:21 +02:00
215 iotests: Disable broken streamOptimized tests 2019-09-03 14:55:35 +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 block: posix: Always allocate the first block 2019-09-03 14:55:35 +02: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 tests: Use iothreads during iotest 223 2019-09-24 07:30:19 -05:00
223.out tests: Use iothreads during iotest 223 2019-09-24 07:30:19 -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 qapi: add unmap to BlockDeviceStats 2019-10-10 10:56:18 +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 iotests: skip 232 when run tests as root 2019-09-10 08:58:43 +02: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 nbd/client: Add hint when TLS is missing 2019-09-24 07:30:19 -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: Add virtio-scsi device helper 2019-08-16 16:28:02 -04: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 iotests: Restrict file Python tests to file 2019-09-10 08:58:43 +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 iotests: extend sleeping time under Valgrind 2019-09-13 12:18:37 +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: Disable broken streamOptimized tests 2019-09-03 14:55:35 +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 block: posix: Always allocate the first block 2019-09-03 14:55:35 +02:00
254 iotests: test bitmap moving inside 254 2019-08-16 16:28:03 -04:00
254.out iotests: test bitmap moving inside 254 2019-08-16 16:28:03 -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 block/backup: improve sync=bitmap work estimates 2019-08-16 16:28:03 -04:00
257 block/backup: use backup-top instead of write notifiers 2019-10-10 10:56:18 +02:00
257.out block/backup: use backup-top instead of write notifiers 2019-10-10 10:56:18 +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
260 iotests: add test 260 to check bitmap life after snapshot + commit 2019-10-17 17:02:32 -04:00
260.out iotests: add test 260 to check bitmap life after snapshot + commit 2019-10-17 17:02:32 -04:00
262 iotests/262: Switch source/dest VM launch order 2019-10-08 14:28:25 +01:00
262.out iotests/262: Switch source/dest VM launch order 2019-10-08 14:28:25 +01:00
263 qemu-iotests: Add test for bz #1745922 2019-09-16 15:37:12 +02:00
263.out qemu-iotests: Add test for bz #1745922 2019-09-16 15:37:12 +02:00
264 iotests: test nbd reconnect 2019-10-22 20:51:31 -05:00
264.out iotests: test nbd reconnect 2019-10-22 20:51:31 -05:00
265 iotests: Test reverse sub-cluster qcow2 writes 2019-09-10 08:58:43 +02:00
265.out iotests: Test reverse sub-cluster qcow2 writes 2019-09-10 08:58:43 +02:00
266 iotests: Test blockdev-create for vpc 2019-09-10 08:58:43 +02:00
266.out iotests: Test blockdev-create for vpc 2019-09-10 08:58:43 +02:00
267 iotests: Test internal snapshots with -blockdev 2019-10-04 11:59:01 +02:00
267.out iotests: Test internal snapshots with -blockdev 2019-10-04 11:59:01 +02:00
268 block: Reject misaligned write requests with BDRV_REQ_NO_FALLBACK 2019-10-14 17:12:48 +02:00
268.out block: Reject misaligned write requests with BDRV_REQ_NO_FALLBACK 2019-10-14 17:12:48 +02:00
270 iotests: Test large write request to qcow2 file 2019-10-14 17:12:48 +02:00
270.out iotests: Test large write request to qcow2 file 2019-10-14 17:12:48 +02:00
check iotests: Require Python 3.6 or later 2019-10-04 11:59:16 +02:00
common.config qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
common.filter iotests: Test internal snapshots with -blockdev 2019-10-04 11:59:01 +02: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 qemu-iotests: ignore leaks on failure paths in 026 2019-10-10 10:56:17 +02:00
common.tls qemu-iotests: Improve portability by searching bash in the $PATH 2019-03-08 12:26:45 +01:00
group iotests: test nbd reconnect 2019-10-22 20:51:31 -05:00
iotests.py iotests: Skip read-only cases in 118 when run as root 2019-10-25 15:15:01 +02: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.