From: Frank Ch. Eigler Date: Tue, 3 Sep 2024 17:30:13 +0000 (-0400) Subject: valgrind testing: fix vg_regtest individual-test mode X-Git-Tag: VALGRIND_3_24_0~75 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d275c45935f7352a944721bc22e671908ca8eae4;p=thirdparty%2Fvalgrind.git valgrind testing: fix vg_regtest individual-test mode One of the new log files was created in a way that was oblivious to the chdir()'s in effect in the perl script. Signed-off-by: Frank Ch. Eigler --- diff --git a/tests/vg_regtest.in b/tests/vg_regtest.in index aeef874f3..3471322b0 100755 --- a/tests/vg_regtest.in +++ b/tests/vg_regtest.in @@ -830,7 +830,7 @@ while (1) { # we will exit after one loop, unless looptillfail while () { print TSLOG "|\t$_"; } close(LOGFILE); } - open(VGTESTTRS,">","$dir/$file.trs") or die $!; + open(VGTESTTRS,">","$file.trs") or die $!; print VGTESTTRS ":test-result: $result\n"; print VGTESTTRS ":global-test-result: $result\n"; print VGTESTTRS ":recheck: no\n"; # ?