]>
Commit | Line | Data |
---|---|---|
0e4ffb4b LA |
1 | #!/bin/sh |
2 | ||
3 | set -eu | |
93534495 C |
4 | |
5 | for i in $(seq 1 6); do | |
feb4bdfd | 6 | dropdb "peertube_test$i" |
93534495 | 7 | rm -rf "./test$i" |
fd206f0b C |
8 | rm -f "./config/local-test.json" |
9 | rm -f "./config/local-test-$i.json" | |
a9ab599e | 10 | createdb -O peertube "peertube_test$i" |
94a5ff8a | 11 | redis-cli KEYS "q-localhost:900$i*" | grep -v empty | xargs --no-run-if-empty redis-cli DEL |
93534495 | 12 | done |