Drop redundant occurrences of "./" from test suite
This commit is contained in:
@@ -87,7 +87,7 @@ sub testHook
|
||||
#
|
||||
# Call the first hook
|
||||
#
|
||||
`./hooks/$dist/01-disable-daemons $dir`;
|
||||
`hooks/$dist/01-disable-daemons $dir`;
|
||||
|
||||
#
|
||||
# Now /usr/sbin should exist.
|
||||
@@ -98,7 +98,7 @@ sub testHook
|
||||
#
|
||||
# Now call the second hook
|
||||
#
|
||||
`./hooks/$dist/99-enable-daemons $dir`;
|
||||
`hooks/$dist/99-enable-daemons $dir`;
|
||||
|
||||
ok( ! -x $dir . "/usr/sbin/policy-rc.d", "The policy-rc.d file was correctly removed" );
|
||||
}
|
||||
|
||||
@@ -75,7 +75,7 @@ close( IMAGE );
|
||||
# So we need to run the deletion script and verify the images
|
||||
# are removed correctly.
|
||||
#
|
||||
my $log = `perl -I./lib -I../lib ./bin/xen-delete-image --test --verbose --dir=$dir $hostname`;
|
||||
my $log = `perl -Ilib -I../lib bin/xen-delete-image --test --verbose --dir=$dir $hostname`;
|
||||
ok ( $? == 0, 'Calling xen-delete-image returned exit code 0' );
|
||||
print $log;
|
||||
|
||||
|
||||
@@ -159,7 +159,7 @@ sub runCreateCommand
|
||||
#
|
||||
# Run the command
|
||||
#
|
||||
system( "perl ./bin/xt-create-xen-config --output=$dir --template=./etc/xm.tmpl" );
|
||||
system( "perl bin/xt-create-xen-config --output=$dir --template=etc/xm.tmpl" );
|
||||
|
||||
#
|
||||
# Reset the environment
|
||||
|
||||
Reference in New Issue
Block a user