PeerTube/scripts/clean_test.sh

6 lines
184 B
Bash
Executable File

#!/bin/bash
printf "use peertube-test1;\ndb.dropDatabase();\nuse peertube-test2;\ndb.dropDatabase();\nuse peertube-test3;\ndb.dropDatabase();" | mongo
rm -rf ./test1 ./test2 ./test3