Skip to content

Commit 79b51eb

Browse files
committed
Merge branch 'jk/test-lib-drop-pid-from-results' into maint
The test framework left the number of tests and success/failure count in the t/test-results directory, keyed by the name of the test script plus the process ID. The latter however turned out not to serve any useful purpose. The process ID part of the filename has been removed. * jk/test-lib-drop-pid-from-results: test-lib: drop PID from test-results/*.count
2 parents 276661f + 5c885c1 commit 79b51eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/test-lib.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -687,9 +687,9 @@ test_done () {
687687
test_results_dir="$TEST_OUTPUT_DIRECTORY/test-results"
688688
mkdir -p "$test_results_dir"
689689
base=${0##*/}
690-
test_results_path="$test_results_dir/${base%.sh}-$$.counts"
690+
test_results_path="$test_results_dir/${base%.sh}.counts"
691691

692-
cat >>"$test_results_path" <<-EOF
692+
cat >"$test_results_path" <<-EOF
693693
total $test_count
694694
success $test_success
695695
fixed $test_fixed

0 commit comments

Comments
 (0)