1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-24 09:08:49 -05:00

tests: make runtests check that disabled tests exists

... and error out if so. Removed '536' from DISABLED as there is no such
test file.

Closes #5288
This commit is contained in:
Daniel Stenberg 2020-04-24 11:21:01 +02:00
parent 1ae5860059
commit 75e8feb6fb
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
2 changed files with 7 additions and 2 deletions

View File

@ -22,7 +22,6 @@
1307
# Pipelining is deprecated
530
536
584
1900
1901

View File

@ -5492,7 +5492,13 @@ sub disabledtests {
next;
}
if($_ =~ /(\d+)/) {
$disabled{$1}=$1; # disable this test number
my ($n) = $1;
$disabled{$n}=$n; # disable this test number
if(! -f "data/test$n") {
print STDERR "WARNING! Non-exiting test $n in DISABLED!\n";
# fail hard to make user notice
exit 1;
}
}
}
close(D);