From b36f41ca09e92ecb30d367d91d1089a23d10d585 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 14 Sep 2018 09:57:21 +0200 Subject: Add trending videos strategy --- scripts/clean/server/test.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'scripts/clean/server/test.sh') 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 dbname="peertube_test$i" dropdb --if-exists "$dbname" - rm -rf "./test$i" - rm -f "./config/local-test.json" - rm -f "./config/local-test-$i.json" + rm -rf "./test$i" "./config/local-test.json" "./config/local-test-$i.json" + createdb -O peertube "$dbname" psql -c "CREATE EXTENSION pg_trgm;" "$dbname" psql -c "CREATE EXTENSION unaccent;" "$dbname" -- cgit v1.2.3