Merge branch 'js/remote-improvements'
[gitweb.git] / t / test-lib.sh
index 7a847ecbde018f36911ee6a1074ba169af1f350d..1e01a912abe41cd61206553caea095ad4a0bd064 100644 (file)
@@ -464,7 +464,7 @@ test_done () {
        trap - EXIT
        test_results_dir="$TEST_DIRECTORY/test-results"
        mkdir -p "$test_results_dir"
-       test_results_path="$test_results_dir/${0%-*}-$$"
+       test_results_path="$test_results_dir/${0%.sh}-$$"
 
        echo "total $test_count" >> $test_results_path
        echo "success $test_success" >> $test_results_path