Skip to content

Commit

Permalink
regression: scripts/setup now creates the file working/CLEANUPMARKER
Browse files Browse the repository at this point in the history
This makes sure that the cleanup happens also before the first test
is setup.

Without that, the first run of some tests always fails
(e.g. always-incremental-test) because the cleanup scripts
does not clean up and artefacts of the software installation remain.
  • Loading branch information
pstorz authored and franku committed Sep 6, 2018
1 parent 343cc6d commit a52ad8e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions regress/scripts/setup
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ cd ${cwd}
bin/bareos stop

mkdir -p working
# make sure everything is cleaned up
touch working/CLEANUPMARKER

cd bin
echo "Running database creation scripts"
./create_bareos_database ${DBTYPE}
Expand Down

0 comments on commit a52ad8e

Please sign in to comment.