]> git.proxmox.com Git - mirror_qemu.git/commitdiff
iotests/check: Fix typing for sys.exit() value
authorJohn Snow <jsnow@redhat.com>
Sat, 3 Dec 2022 00:52:33 +0000 (19:52 -0500)
committerJohn Snow <jsnow@redhat.com>
Wed, 4 Jan 2023 18:46:05 +0000 (13:46 -0500)
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>
tests/qemu-iotests/check

index 75de1b4691eb7f44bef979771b3fc0314b76d8f2..9bdda1394e73aea76a86d25fed66e46abc4a78c8 100755 (executable)
@@ -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))