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:22:13 -06:00
|
|
|
rm -rf "$basePath/../server/test$i"
|
2016-03-07 11:06:54 -06:00
|
|
|
done
|