diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-03-07 18:22:13 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-03-07 18:22:13 +0100 |
commit | 6a1e67b30a77b0e24314617f794a7122dd83c570 (patch) | |
tree | 9f8b7a8533a280dbb76c4bc29c225e5c8d2ddec7 /scripts/clean_test.sh | |
parent | e7870ff368251c6368137aab4f670517b37a2a20 (diff) | |
download | PeerTube-6a1e67b30a77b0e24314617f794a7122dd83c570.tar.gz PeerTube-6a1e67b30a77b0e24314617f794a7122dd83c570.tar.zst PeerTube-6a1e67b30a77b0e24314617f794a7122dd83c570.zip |
Fix clean_test script
Diffstat (limited to 'scripts/clean_test.sh')
-rwxr-xr-x | scripts/clean_test.sh | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/scripts/clean_test.sh b/scripts/clean_test.sh deleted file mode 100755 index ef146e091..000000000 --- a/scripts/clean_test.sh +++ /dev/null | |||
@@ -1,8 +0,0 @@ | |||
1 | #!/bin/bash | ||
2 | |||
3 | basePath=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) | ||
4 | |||
5 | for i in $(seq 1 6); do | ||
6 | printf "use peertube-test%s;\ndb.dropDatabase();" "$i" | mongo | ||
7 | rm -rf "$basePath/../test$i" | ||
8 | done | ||