Commit 45eb05ce32c213849683a06e98ee6cde84db5887

Authored by Athos
1 parent 942a634a

Fix nc call for Red Hat like distros

In Red Hat like distros, nc stands for nmap's ncat, which has no -z
option as does netcat. Making the call explicit avoid misleading those
distro's users.
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
test/redis_test.sh
@@ -5,7 +5,7 @@ test_redis_running() { @@ -5,7 +5,7 @@ test_redis_running() {
5 } 5 }
6 6
7 test_redis_listens_on_local_network() { 7 test_redis_listens_on_local_network() {
8 - assertTrue 'redis listening on local network' 'nc -z -w 1 $database 6379' 8 + assertTrue 'redis listening on local network' 'netcat -z -w 1 $database 6379'
9 } 9 }
10 10
11 load_shunit2 11 load_shunit2