2016-03-07 12:06:54 -05: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 12:53:03 -05:00
|
|
|
rm -rf "$basePath/../test$i"
|
2016-03-07 12:06:54 -05:00
|
|
|
done
|