diff --git a/t/hook-daemons.t b/t/hook-daemons.t index 67d7791..e102e66 100755 --- a/t/hook-daemons.t +++ b/t/hook-daemons.t @@ -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" ); } diff --git a/t/xen-delete-image.t b/t/xen-delete-image.t index c544bd2..0a01e15 100755 --- a/t/xen-delete-image.t +++ b/t/xen-delete-image.t @@ -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; diff --git a/t/xt-create-xen-config.t b/t/xt-create-xen-config.t index f38b9d6..d71b3ab 100755 --- a/t/xt-create-xen-config.t +++ b/t/xt-create-xen-config.t @@ -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