diff options
author | Martin Schwenke <martin@meltin.net> | 2015-06-17 16:44:20 +1000 |
---|---|---|
committer | Amitay Isaacs <amitay@samba.org> | 2015-07-14 09:57:17 +0200 |
commit | 87b215c39028a40c280485ded5232ca572fa32ef (patch) | |
tree | c6294e84fc2982ffa2b372c971d75e3a865038c4 /ctdb | |
parent | d170a20b46017cadc6ba0b3ae82aeff508e15431 (diff) | |
download | samba-87b215c39028a40c280485ded5232ca572fa32ef.tar.gz |
ctdb-tests: Don't flag failure when there are no rpcinfo check failures
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'ctdb')
-rw-r--r-- | ctdb/tests/eventscripts/scripts/local.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/tests/eventscripts/scripts/local.sh b/ctdb/tests/eventscripts/scripts/local.sh index cd58a40fb6e..232f0eb0be7 100644 --- a/ctdb/tests/eventscripts/scripts/local.sh +++ b/ctdb/tests/eventscripts/scripts/local.sh @@ -936,7 +936,7 @@ rpc_set_service_failure_response () _hit=true fi else - if [ $(($_numfails $_op $_li)) -eq 0 ] ; then + if [ $_numfails -gt 0 -a $(($_numfails $_op $_li)) -eq 0 ] ; then _hit=true fi fi |