From 6c88efcb7b1361ba6389753e520e26fc556b7d79 Mon Sep 17 00:00:00 2001 From: José Bollo Date: Thu, 7 Nov 2019 11:00:55 +0100 Subject: Improve exit status of cynagora-admin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When used command line, the tool cynagora-admin was terminating with status 0 even when the server wasn't up and running. This changes corrctly fix the issue by recording the status of the last cynagora command and by treating with it in command line mode. This change is required to implement a basic ptest and to submit cynagora for Itchy Icefish. Bug-AGL: 2844 Also fix a naming in the cache stressing test. Change-Id: I39ee784bbe8ce7b792e96ef14578baa6f80ef6ac Signed-off-by: José Bollo --- tests/stress-cache.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/stress-cache.sh b/tests/stress-cache.sh index c2b022c..9933606 100755 --- a/tests/stress-cache.sh +++ b/tests/stress-cache.sh @@ -23,7 +23,7 @@ for((y = 0 ; y < 10 ; y++)); do sleep .05 done done | -valgrind cynagoradm -c 2000 -e -s $d/cynagora.check +valgrind cynagora-admin -c 2000 -e -s $d/cynagora.check echo ----------- STOP ------------------ # terminate -- cgit 1.2.3-korg