ActivityPub-federated video streaming platform using P2P directly in your web browser
scripts/test: make MacOS compatible
kontrollanten875c402bab73
diff --git a/scripts/clean/server/test.sh b/scripts/clean/server/test.shindex f85daf810b..5c30c7639b 100755--- a/scripts/clean/server/test.sh+++ b/scripts/clean/server/test.sh@@ -20,9 +20,9 @@ dropRedis () {port=$((9000+$1))host="localhost"- redis-cli -h "$host" KEYS "bull-localhost:$port*" | grep -v empty | xargs --no-run-if-empty redis-cli -h "$host" DEL- redis-cli -h "$host" KEYS "redis-localhost:$port*" | grep -v empty | xargs --no-run-if-empty redis-cli -h "$host" DEL- redis-cli -h "$host" KEYS "*redis-localhost:$port-" | grep -v empty | xargs --no-run-if-empty redis-cli -h "$host" DEL+ redis-cli -h "$host" KEYS "bull-localhost:$port*" | grep -v empty | xargs -r redis-cli -h "$host" DEL+ redis-cli -h "$host" KEYS "redis-localhost:$port*" | grep -v empty | xargs -r redis-cli -h "$host" DEL+ redis-cli -h "$host" KEYS "*redis-localhost:$port-" | grep -v empty | xargs -r redis-cli -h "$host" DEL}seq=$(seq 1 6)