diff options
Diffstat (limited to 'scripts/clean/server')
-rwxr-xr-x | scripts/clean/server/test.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/clean/server/test.sh b/scripts/clean/server/test.sh index 3b8fe39ed..5f9a88a2e 100755 --- a/scripts/clean/server/test.sh +++ b/scripts/clean/server/test.sh | |||
@@ -6,9 +6,8 @@ for i in $(seq 1 6); do | |||
6 | dbname="peertube_test$i" | 6 | dbname="peertube_test$i" |
7 | 7 | ||
8 | dropdb --if-exists "$dbname" | 8 | dropdb --if-exists "$dbname" |
9 | rm -rf "./test$i" | 9 | rm -rf "./test$i" "./config/local-test.json" "./config/local-test-$i.json" |
10 | rm -f "./config/local-test.json" | 10 | |
11 | rm -f "./config/local-test-$i.json" | ||
12 | createdb -O peertube "$dbname" | 11 | createdb -O peertube "$dbname" |
13 | psql -c "CREATE EXTENSION pg_trgm;" "$dbname" | 12 | psql -c "CREATE EXTENSION pg_trgm;" "$dbname" |
14 | psql -c "CREATE EXTENSION unaccent;" "$dbname" | 13 | psql -c "CREATE EXTENSION unaccent;" "$dbname" |