aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin/clean_test.sh
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-03-07 18:06:54 +0100
committerChocobozzz <florian.bigard@gmail.com>2016-03-07 18:06:54 +0100
commite7870ff368251c6368137aab4f670517b37a2a20 (patch)
tree74c575eb114bb12788465629f194f03d218397d7 /bin/clean_test.sh
parentccfd23dfe5c0ede1958804e8a36b4b336307a67e (diff)
downloadPeerTube-e7870ff368251c6368137aab4f670517b37a2a20.tar.gz
PeerTube-e7870ff368251c6368137aab4f670517b37a2a20.tar.zst
PeerTube-e7870ff368251c6368137aab4f670517b37a2a20.zip
Move scripts to bin
Diffstat (limited to 'bin/clean_test.sh')
-rwxr-xr-xbin/clean_test.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/clean_test.sh b/bin/clean_test.sh
new file mode 100755
index 000000000..ef146e091
--- /dev/null
+++ b/bin/clean_test.sh
@@ -0,0 +1,8 @@
1#!/bin/bash
2
3basePath=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
4
5for i in $(seq 1 6); do
6 printf "use peertube-test%s;\ndb.dropDatabase();" "$i" | mongo
7 rm -rf "$basePath/../test$i"
8done