From fcec547e6f9ce283e2e89c71226ab8e18b8c2010 Mon Sep 17 00:00:00 2001 From: Jonathan Cobb Date: Sat, 22 Aug 2020 14:10:40 -0400 Subject: [PATCH] add port command --- bin/jenkins/test-redis | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/jenkins/test-redis b/bin/jenkins/test-redis index bc38af95..d5d428b9 100755 --- a/bin/jenkins/test-redis +++ b/bin/jenkins/test-redis @@ -52,7 +52,7 @@ function stop_redis() { } if [[ -z ${1} ]] ; then - die "expected start or stop" + die "expected one of: start stop port" fi case ${1} in @@ -62,6 +62,9 @@ case ${1} in "stop") stop_redis ;; + "port") + redis_port + ;; *) die "invalid argument: ${1}" ;;