mirror of
https://github.com/curl/curl.git
synced 2026-07-25 18:37:17 +03:00
runtests: exit hard on duplicate test name
To make the mistake more noticeable Closes #21991
This commit is contained in:
parent
5b9263e5d7
commit
a1db90053b
1 changed files with 1 additions and 1 deletions
|
|
@ -1249,7 +1249,7 @@ sub singletest_count {
|
|||
logmsg sprintf("ERROR: test %d has duplicate test name: \"%s\". ".
|
||||
"The same as test %d\n", $testnum,
|
||||
$testname, $allnames{$testname});
|
||||
return -1;
|
||||
exit 1;
|
||||
}
|
||||
# store which test that uses this name
|
||||
$allnames{$testname} = $testnum;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue