diff options
author | Thomas Rast <trast@student.ethz.ch> | 2012-03-08 08:54:54 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-03-08 19:38:09 (GMT) |
commit | 1cbc32403b20f064ec7c295c6603f6fd16662bce (patch) | |
tree | b9afcc5efa3280b3ed310e95532ab774e27282ba /t/perf/p0000-perf-lib-sanity.sh | |
parent | 56a33c8f1bb5cef11ddf046f7b570f527ea77d37 (diff) | |
download | git-1cbc32403b20f064ec7c295c6603f6fd16662bce.zip git-1cbc32403b20f064ec7c295c6603f6fd16662bce.tar.gz git-1cbc32403b20f064ec7c295c6603f6fd16662bce.tar.bz2 |
perf: load test-lib-functions from the correct directory
Loading it in the subshells still referred to $TEST_DIRECTORY/..,
which was only correct in preliminary versions of perf-lib.sh
Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/perf/p0000-perf-lib-sanity.sh')
-rwxr-xr-x | t/perf/p0000-perf-lib-sanity.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/t/perf/p0000-perf-lib-sanity.sh b/t/perf/p0000-perf-lib-sanity.sh index 2ca4aac..f8dd536 100755 --- a/t/perf/p0000-perf-lib-sanity.sh +++ b/t/perf/p0000-perf-lib-sanity.sh @@ -38,4 +38,9 @@ test_expect_success 'test_export works with weird vars' ' test "$bar" = "weird # variable" ' +test_perf 'test-lib-functions correctly loaded in subshells' ' + : >a && + test_path_is_file a +' + test_done |