diff --git a/tests/run_make_tests.pl b/tests/run_make_tests.pl index 916f346..cb66598 100644 --- a/tests/run_make_tests.pl +++ b/tests/run_make_tests.pl @@ -58,8 +58,8 @@ if ($^O eq 'VMS') *CORE::GLOBAL::rmdir = \&vms_rmdir; } -require "test_driver.pl"; -require "config-flags.pm"; +require "./test_driver.pl"; +require "./config-flags.pm"; # Some target systems might not have the POSIX module... $has_POSIX = eval { require "POSIX.pm" }; diff --git a/tests/test_driver.pl b/tests/test_driver.pl index e6cd9f9..c1ebe7c 100644 --- a/tests/test_driver.pl +++ b/tests/test_driver.pl @@ -165,7 +165,7 @@ sub toplevel $detail = 0; # detailed verbosity $keep = 0; # keep temp files around $workdir = "work"; # The directory where the test will start running - $scriptdir = "scripts"; # The directory where we find the test scripts + $scriptdir = "./scripts"; # The directory where we find the test scripts $tmpfilesuffix = "t"; # the suffix used on tmpfiles $default_output_stack_level = 0; # used by attach_default_output, etc. $default_input_stack_level = 0; # used by attach_default_input, etc.