1
0
mirror of synced 2026-04-19 16:29:44 +00:00

Call commands in tests with proper search path for perl modules

This commit is contained in:
Axel Beckert
2012-05-31 01:19:23 +02:00
parent 34ccb63f64
commit a23f31077a
2 changed files with 2 additions and 2 deletions

View File

@@ -75,7 +75,7 @@ close( IMAGE );
# So we need to run the deletion script and verify the images
# are removed correctly.
#
`./bin/xen-delete-image --test --dir=$dir $hostname`;
`perl -I./lib -I../lib ./bin/xen-delete-image --test --dir=$dir $hostname`;
#

View File

@@ -98,7 +98,7 @@ EOS
# Now run the xen-list-images script to make sure we can read
# the relevant details back from it.
#
my $cmd = "./bin/xen-list-images --test=$dir";
my $cmd = "perl -I./lib -I../lib ./bin/xen-list-images --test=$dir";
my $output = `$cmd`;
ok( defined( $output ) && length( $output ), "Runing the list command produced some output" );