summaryrefslogtreecommitdiff
path: root/t/run/switchx.t
diff options
context:
space:
mode:
Diffstat (limited to 't/run/switchx.t')
-rw-r--r--t/run/switchx.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/run/switchx.t b/t/run/switchx.t
index 4676d1abf4..60a522cf49 100644
--- a/t/run/switchx.t
+++ b/t/run/switchx.t
@@ -6,5 +6,6 @@ BEGIN {
}
require './test.pl';
+use File::Spec::Functions;
-print runperl( switches => ['-x'], progfile => 'run/switchx.aux' );
+print runperl( switches => ['-x'], progfile => catfile(curdir(), 'run', 'switchx.aux') );