From: Daniel Stenberg Date: Mon, 18 Dec 2023 13:19:22 +0000 (+0100) Subject: runner.pm: fix perl warning when running tests X-Git-Tag: curl-8_6_0~199 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d8d59743179803ebc8a9c333ff0fe1c06a604e7;p=thirdparty%2Fcurl.git runner.pm: fix perl warning when running tests Use of uninitialized value $runner::gdbthis in numeric eq (==) at runner.pm Follow-up from 3dcf301752a09d9 Closes #12549 --- diff --git a/tests/runner.pm b/tests/runner.pm index 1ee912fc7f..c0fb40cb3d 100644 --- a/tests/runner.pm +++ b/tests/runner.pm @@ -115,7 +115,7 @@ our $DBGCURL=$CURL; #"../src/.libs/curl"; # alternative for debugging our $valgrind_logfile="--log-file"; # the option name for valgrind >=3 our $valgrind_tool="--tool=memcheck"; our $gdb = checktestcmd("gdb"); -our $gdbthis; # run test case with gdb debugger +our $gdbthis = 0; # run test case with debugger (gdb or lldb) our $gdbxwin; # use windowed gdb when using gdb # torture test variables