1
0
mirror of synced 2026-02-26 16:23:27 +00:00

t/xen-delete-image.t: Check xen-delete-image exit code

Also run xen-delete-image verbose and print output.
This commit is contained in:
Axel Beckert
2013-04-18 16:26:55 +02:00
parent 081c0370d4
commit 07622d8ed0

View File

@@ -75,7 +75,9 @@ close( IMAGE );
# So we need to run the deletion script and verify the images
# are removed correctly.
#
`perl -I./lib -I../lib ./bin/xen-delete-image --test --no-xen-ok --dir=$dir $hostname`;
my $log = `perl -I./lib -I../lib ./bin/xen-delete-image --test --verbose --no-xen-ok --dir=$dir $hostname`;
ok ( $? == 0, 'Calling xen-delete-image returned exit code 0' );
print $log;
#