1
0
mirror of synced 2026-02-27 00:39:51 +00:00

Drop redundant occurrences of "./" from test suite

This commit is contained in:
Axel Beckert
2014-09-25 20:10:11 +02:00
parent 525f3ce24e
commit 47b100cf08
3 changed files with 4 additions and 4 deletions

View File

@@ -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" );
}

View File

@@ -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;

View File

@@ -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