aboutsummaryrefslogblamecommitdiffhomepage
path: root/scripts/clean_test.sh
blob: ef146e09160cb138cd066cfca7a9d54be05ef29c (plain) (tree)
1
2
3
4
5
6
7
8

           

                                                          

                                                                
                              
    
#!/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
  rm -rf "$basePath/../test$i"
done