diff options
author | Daniel Stenberg <daniel@haxx.se> | 2023-03-22 12:53:56 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2023-03-22 14:01:45 +0100 |
commit | 70afa0d2516caf5373aaa021826537444f9502c4 (patch) | |
tree | 802244ef1d0d0bbd7ae57d1634acaa41354feea7 | |
parent | 5d1ecbcbd2eaea80485374afff09d04245e05e63 (diff) | |
download | curl-70afa0d2516caf5373aaa021826537444f9502c4.tar.gz |
runtests: die if curl version can be found
Closes #10813
-rwxr-xr-x | tests/runtests.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl index de394bd3e..124a96463 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -5970,7 +5970,8 @@ if(!$randseed) { localtime(time); # seed of the month. December 2019 becomes 201912 $randseed = ($year+1900)*100 + $mon+1; - open(C, "$CURL --version 2>/dev/null|"); + open(C, "$CURL --version 2>/dev/null|") || + die "could not get curl version!"; my @c = <C>; close(C); # use the first line of output and get the md5 out of it |