1
0
Fork 0
peertube/scripts/clean/server/test.sh

6 lines
133 B
Bash
Executable file

#!/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