1
0
Fork 0
peertube/scripts/clean_test.sh

6 lines
184 B
Bash
Raw Normal View History

2015-06-09 11:41:40 -04:00
#!/bin/bash
printf "use peertube-test1;\ndb.dropDatabase();\nuse peertube-test2;\ndb.dropDatabase();\nuse peertube-test3;\ndb.dropDatabase();" | mongo
2015-06-09 11:41:40 -04:00
rm -rf ./test1 ./test2 ./test3