]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
valgrind testing: fix vg_regtest individual-test mode
authorFrank Ch. Eigler <fche@redhat.com>
Tue, 3 Sep 2024 17:30:13 +0000 (13:30 -0400)
committerFrank Ch. Eigler <fche@redhat.com>
Tue, 3 Sep 2024 17:30:13 +0000 (13:30 -0400)
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 <fche@redhat.com>
tests/vg_regtest.in

index aeef874f3464069b472341f9902301a24df002c1..3471322b0f94461b525e2c2bf5005bb3a3c7b9a7 100755 (executable)
@@ -830,7 +830,7 @@ while (1) { # we will exit after one loop, unless looptillfail
                while (<LOGFILE>) { 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"; # ?