aboutsummaryrefslogtreecommitdiff
path: root/blockjob.c
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2023-03-15 17:43:19 +0000
committerAlex Bennée <alex.bennee@linaro.org>2023-03-22 15:08:26 +0000
commit663755b02247b848d4a342072a528ae1d402611c (patch)
treef2124ccb210c41d313d302ce2df377f9e34a61c9 /blockjob.c
parenta9e21786da4f83d90d1ad82ce071b592abfca1b1 (diff)
downloadqemu-663755b02247b848d4a342072a528ae1d402611c.zip
qemu-663755b02247b848d4a342072a528ae1d402611c.tar.gz
qemu-663755b02247b848d4a342072a528ae1d402611c.tar.bz2
iotests: strip subdir path when listing tests
When asking 'check' to list individual tests by invoking it in dry run mode, it prints the paths to the tests relative to the base of the I/O test directory. When asking 'check' to run an individual test, however, it mandates that only the unqualified test name is given, without any path prefix. This inconsistency makes it harder to ask for a list of tests and then invoke each one. Thus the test listing code is change to flatten the test names, by printing only the base name, which can be directly invoked. Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Acked-by: Hanna Czenczek <hreitz@redhat.com> Tested-by: Thomas Huth <thuth@redhat.com> Message-Id: <20230303160727.3977246-4-berrange@redhat.com> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20230315174331.2959-21-alex.bennee@linaro.org>
Diffstat (limited to 'blockjob.c')
0 files changed, 0 insertions, 0 deletions