Diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Drop two setup.sh lines that change nothing
The library has read TEST_RESULTS_SAN_DIR for the last time by the
time it returns, and the trash directory it makes is empty, so there
is no cache to remove.
Diffstat (limited to 'tests')
| -rwxr-xr-x | tests/setup.sh | 8 |
1 file changed, 3 insertions, 5 deletions
diff --git a/tests/setup.sh b/tests/setup.sh index 642faab..323addf 100755 --- a/tests/setup.sh +++ b/tests/setup.sh @@ -43,11 +43,10 @@ TEST_NO_CREATE_REPO=YesPlease # The library spells its results directory test-results and derives these # variables before it can be told otherwise, so they are re-pointed at the -# plainer results/. The --tee and --stress raw logs write earlier and keep -# the library's name. +# plainer results/. The --tee and --stress raw logs and the leak logs write +# earlier and keep the library's name. TEST_RESULTS_DIR="$TEST_OUTPUT_DIRECTORY/results" TEST_RESULTS_BASE="$TEST_RESULTS_DIR/$TEST_NAME$TEST_STRESS_JOB_SFX" -TEST_RESULTS_SAN_DIR="$TEST_RESULTS_BASE.$TEST_RESULTS_SAN_DIR_SFX" # The library has moved into the trash directory by now, so paths outside it # are anchored to TEST_OUTPUT_DIRECTORY. The tests run cgit by name, so the @@ -108,8 +107,7 @@ mkrepo() { } setup_repos() { - rm -rf cache - mkdir -p cache + mkdir cache mkrepo repos/foo 5 >/dev/null mkrepo repos/bar 50 commit-graph >/dev/null mkrepo repos/foo+bar 10 testplus >/dev/null |
