]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - bin/clean_test.sh
Don't forget to test the client stuffs
[github/Chocobozzz/PeerTube.git] / bin / clean_test.sh
1 #!/bin/bash
2
3 basePath=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
4
5 for i in $(seq 1 6); do
6 printf "use peertube-test%s;\ndb.dropDatabase();" "$i" | mongo
7 rm -rf "$basePath/../test$i"
8 done