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