]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - scripts/clean/server/test.sh
Add FreeBSD documentation
[github/Chocobozzz/PeerTube.git] / scripts / clean / server / test.sh
1 #!/usr/bin/env sh
2
3 for i in $(seq 1 6); do
4 dropdb "peertube_test$i"
5 rm -rf "./test$i"
6 rm -f "./config/local-test.json"
7 rm -f "./config/local-test-$i.json"
8 createdb "peertube_test$i"
9 redis-cli KEYS "q-localhost:900$i*" | grep -v empty | xargs --no-run-if-empty redis-cli DEL
10 done