]> git.proxmox.com Git - qemu-server.git/commit - test/run_config2command_tests.pl
t/cfg2cmd: ensure tests can pass again
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 10 Dec 2018 17:00:03 +0000 (18:00 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 11 Dec 2018 09:45:03 +0000 (10:45 +0100)
commit8256220068ca49f12e594119ade46395e3fe7755
tree4640b31b2b4e9ae256eee76c743c9192c202580f
parent3dc780c6430c7a64b0e3254eb3b16819ea6dff0b
t/cfg2cmd: ensure tests can pass again

the change to use a real diff to check tests, with it's nicer output
for failing cases, failed to ensure that the test system knew if a
case passed - earlier done indirectly by 'is_deeply', thus add a
manual 'pass' call if the tes was OK.
Further, the firs test failing aborted everything, which isn't to
nice, normally it's much more convenient if all test get run and one
can view at the results of all of them. So put the diff in an eval
and fail/note the test manually.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Acked-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
test/run_config2command_tests.pl