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:
@@ -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;
|
||||
|
||||
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user