2016-03-07 11:06:54 -06:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
basePath=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
|
|
|
|
|
|
|
|
for i in $(seq 1 6); do
|
|
|
|
printf "use peertube-test%s;\ndb.dropDatabase();" "$i" | mongo
|
2016-03-07 11:53:03 -06:00
|
|
|
rm -rf "$basePath/../test$i"
|
2016-03-07 11:06:54 -06:00
|
|
|
done
|