]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - scripts/clean_test.sh
Add tests for searching a video
[github/Chocobozzz/PeerTube.git] / scripts / clean_test.sh
CommitLineData
8c308c2b
C
1#!/bin/bash
2
ecef65b6
C
3basePath=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
4
3bcb78b3
C
5for i in $(seq 1 6); do
6 printf "use peertube-test%s;\ndb.dropDatabase();" "$i" | mongo
ecef65b6 7 rm -rf "$basePath/../test$i"
3bcb78b3 8done