aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/clean_test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/clean_test.sh')
-rwxr-xr-xscripts/clean_test.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/clean_test.sh b/scripts/clean_test.sh
new file mode 100755
index 000000000..8d71215f2
--- /dev/null
+++ b/scripts/clean_test.sh
@@ -0,0 +1,5 @@
1#!/bin/bash
2
3printf "use petube-test1;\ndb.dropDatabase();\nuse petube-test2;\ndb.dropDatabase();\nuse petube-test3;\ndb.dropDatabase();" | mongo
4
5rm -rf ./test1 ./test2 ./test3