From 45eb05ce32c213849683a06e98ee6cde84db5887 Mon Sep 17 00:00:00 2001 From: Athos Ribeiro Date: Wed, 4 Mar 2015 13:30:58 -0300 Subject: [PATCH] Fix nc call for Red Hat like distros --- test/redis_test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/redis_test.sh b/test/redis_test.sh index b495fbb..10efe44 100644 --- a/test/redis_test.sh +++ b/test/redis_test.sh @@ -5,7 +5,7 @@ test_redis_running() { } test_redis_listens_on_local_network() { - assertTrue 'redis listening on local network' 'nc -z -w 1 $database 6379' + assertTrue 'redis listening on local network' 'netcat -z -w 1 $database 6379' } load_shunit2 -- libgit2 0.21.2