From: Daniel Stenberg Date: Wed, 26 Feb 2025 09:48:40 +0000 (+0100) Subject: tests: make sure gdb gets the right path for -x X-Git-Tag: curl-8_13_0~336 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f5527e57f83d8206440d724f04d57088590b7a33;p=thirdparty%2Fcurl.git tests: make sure gdb gets the right path for -x Regression from #16452 Closes #16495 --- diff --git a/tests/runner.pm b/tests/runner.pm index 12391eaf21..68f3969cd0 100644 --- a/tests/runner.pm +++ b/tests/runner.pm @@ -1034,12 +1034,12 @@ sub singletest_run { if ($torture) { $cmdres = torture($CMDLINE, $testnum, - "$gdb --directory $LIBDIR " . shell_quote($DBGCURL) . " -x $LOGDIR" . "gdbcmd"); + "$gdb --directory $LIBDIR " . shell_quote($DBGCURL) . " -x $LOGDIR/gdbcmd"); } elsif($gdbthis == 1) { # gdb my $GDBW = ($gdbxwin) ? "-w" : ""; - runclient("$gdb --directory $LIBDIR " . shell_quote($DBGCURL) . " $GDBW -x $LOGDIR" . "gdbcmd"); + runclient("$gdb --directory $LIBDIR " . shell_quote($DBGCURL) . " $GDBW -x $LOGDIR/gdbcmd"); $cmdres=0; # makes it always continue after a debugged run } elsif($gdbthis == 2) {