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

printf "use petube-test1;\ndb.dropDatabase();\nuse petube-test2;\ndb.dropDatabase();\nuse petube-test3;\ndb.dropDatabase();" | mongo

rm -rf ./test1 ./test2 ./test3