Skip to content

Commit

Permalink
clean-dir
Browse files Browse the repository at this point in the history
  • Loading branch information
wuxianrong committed Mar 13, 2024
1 parent 28b2057 commit 31b1334
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions pikatests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

# clear the log file
function cleanup() {
rm -rf ./log
rm -rf db
rm -rf dbsync/
rm -rf ./log[0-9]*
rm -rf ./db[0-9]*
rm -rf ./dbsync[0-9]*
rm src/redis-server
}

Expand Down Expand Up @@ -70,4 +70,8 @@ if [ $? -ne 0 ]; then
cleanup
exit 1
fi
cleanup

# You can turn this comment on if you want to delete
# the folder immediately after the TCL test

# cleanup

0 comments on commit 31b1334

Please sign in to comment.