aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/clean_test.sh
blob: e46b5ecd5e467c420b35e35de7c068aab7a4602e (plain) (blame)
1
2
3
4
5
6
#!/bin/bash

for i in $(seq 1 6); do
  printf "use peertube-test%s;\ndb.dropDatabase();" "$i" | mongo
  rm -rf "./test$i"
done