Skip to content

Commit

Permalink
Delete test datadir before starting (#3752)
Browse files Browse the repository at this point in the history
This allows tests to be run multiple times even if they fail in the
middle.
  • Loading branch information
NullSoldier authored Apr 6, 2023
1 parent a37ad5e commit 2ba6644
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ironfish-cli/scripts/import-export-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ set -e # exit immediately if anything returns with non-zero exit code
cd "$(dirname "$0")"

DATA_DIR="../testdbs/importexport"
rm -rf $DATA_DIR

if ! command -v expect &> /dev/null; then
echo "expect is not installed but is required"
Expand Down

0 comments on commit 2ba6644

Please sign in to comment.