From d2fe26cfe25b78a51bddc7320b178172093fdf6d Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Thu, 25 Jun 2026 11:34:41 +0200 Subject: [PATCH] runtests: exit with error on `-k` option Ref: https://github.com/curl/curl/pull/22157#discussion_r3473254887 Follow-up to 481e10160f4810dc7731922b3a98461deb1dcbed #22157 --- tests/runtests.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/runtests.pl b/tests/runtests.pl index a326fc37b6..d938e18694 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -2541,7 +2541,7 @@ while(@ARGV) { } elsif($ARGV[0] eq "-k") { # delete this check after December 2026 print "Option -k became always-on in 7.65.2 (2019) and now a no-op. Delete it to continue.\n"; - exit; + exit 1; } elsif($ARGV[0] eq "-r") { # run time statistics needs Time::HiRes