From 7aaf46c22b09c76bb096b4e24b99f01ee978fcd9 Mon Sep 17 00:00:00 2001 From: Ulas Kozat Date: Fri, 1 Jul 2016 12:21:19 -0700 Subject: return FAILED status when no file is generated for distribution add tests/logdata/ to make CI happy Change-Id: I01e0b9feebd5dee2175999e78885abf7124a8410 Signed-off-by: Ulas Kozat --- tests/run.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tests/run.sh') diff --git a/tests/run.sh b/tests/run.sh index 33c2749..bf92609 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -112,7 +112,7 @@ sleep 1 echo "Test Publish API" python domino-cli.py $CLIENT1_CLIPORT publish -t "$toscafile_test1" -sleep 5 +sleep 1 #echo "Stopping Domino Client 1..." #stop_client1 @@ -122,6 +122,7 @@ sleep 5 cut -d " " -f 4- "$client1_log" > file1 #will use the form below to declare success or failure +set +e diff -q file1 "$test1_reffile" 1>/dev/null if [[ $? == "0" ]] then @@ -129,6 +130,7 @@ then else echo "FAILURE" fi - +set -e echo "done" + -- cgit 1.2.3-korg