diff options
author | John Snow <jsnow@redhat.com> | 2022-12-02 19:52:33 -0500 |
---|---|---|
committer | John Snow <jsnow@redhat.com> | 2023-01-04 13:46:05 -0500 |
commit | 5bcf18b0ac2e95ed4490dd63976b9f7831272819 (patch) | |
tree | 0d00ef88d00da1b97910a0b3146644ced3d9ad17 /tests/qemu-iotests | |
parent | 745d58f77d5f951a220a595c73ae30154ed0d50a (diff) |
iotests/check: Fix typing for sys.exit() value
Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Wilfred Mallawa <wilfred.mallawa@wdc.com>
Message-id: 20221203005234.620788-3-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'tests/qemu-iotests')
-rwxr-xr-x | tests/qemu-iotests/check | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemu-iotests/check b/tests/qemu-iotests/check index 75de1b4691..9bdda1394e 100755 --- a/tests/qemu-iotests/check +++ b/tests/qemu-iotests/check @@ -159,7 +159,7 @@ if __name__ == '__main__': if not tests: raise ValueError('No tests selected') except ValueError as e: - sys.exit(e) + sys.exit(str(e)) if args.dry_run: print('\n'.join(tests)) |