aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/clean/server/test.sh
blob: 927671dd415cb5ca5c0e6575457766915a6218be (plain) (blame)
1
2
3
4
5
6
#!/usr/bin/env sh

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