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