]>
git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - scripts/clean/server/test.sh
6 dbname
="peertube_test$1"
8 dropdb
--if-exists "$dbname"
10 createdb
-O peertube
"$dbname"
11 psql
-c "CREATE EXTENSION pg_trgm;" "$dbname" &
12 psql
-c "CREATE EXTENSION unaccent;" "$dbname" &
16 rm -rf "./test$1" "./config/local-test.json" "./config/local-test-$1.json"
20 redis
-cli KEYS
"bull-localhost:900$1*" | grep -v empty
| xargs --no-run-if-empty redis
-cli DEL
23 for i
in $(seq 1 6); do