test-lib: write test results to test-results/<basename>-<pid>
commitbba2a7b22fdde7a214516e93d957a950571a2026
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Fri, 13 Mar 2009 16:26:36 +0000 (13 17:26 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 14 Mar 2009 20:37:00 +0000 (14 13:37 -0700)
tree0c67322868125f28bf63d25f7e9428c8ed6875b6
parent8e76bf3fc915ff9c530842123263e7147df207bb
test-lib: write test results to test-results/<basename>-<pid>

The earlier code meant to attempt to strip everything except the test
number, but only stripped the part starting with the last dash.

However, there is no reason why we should not use the whole basename.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/test-lib.sh