Improve exit status of cynagora-admin 81/22881/1 8.99.1 8.99.2 icefish/8.99.1 icefish/8.99.2 icefish_8.99.1 icefish_8.99.2
authorJosé Bollo <jose.bollo@iot.bzh>
Thu, 7 Nov 2019 10:00:55 +0000 (11:00 +0100)
committerJosé Bollo <jose.bollo@iot.bzh>
Thu, 7 Nov 2019 10:00:55 +0000 (11:00 +0100)
commit6c88efcb7b1361ba6389753e520e26fc556b7d79
treef1b206345fb43c5b92ec25640d41f64c8530c9a0
parent195d93caaec446b2cbca2059b41803498a0b30c9
Improve exit status of cynagora-admin

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 <jose.bollo@iot.bzh>
src/main-cynagora-admin.c
tests/stress-cache.sh