summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/runtests.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index da3fac2e6..fe794b3b7 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -5446,7 +5446,7 @@ sub disabledtests {
if($_ =~ /(\d+)/) {
my ($n) = $1;
$disabled{$n}=$n; # disable this test number
- if(! -f "data/test$n") {
+ if(! -f "$srcdir/data/test$n") {
print STDERR "WARNING! Non-exiting test $n in DISABLED!\n";
# fail hard to make user notice
exit 1;