aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2019-11-07 11:00:55 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2019-11-07 11:00:55 +0100
commit6c88efcb7b1361ba6389753e520e26fc556b7d79 (patch)
treef1b206345fb43c5b92ec25640d41f64c8530c9a0 /tests
parent195d93caaec446b2cbca2059b41803498a0b30c9 (diff)
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>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/stress-cache.sh2
1 files changed, 1 insertions, 1 deletions
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