From 794ed545d878661bfbe8fb5385239d276ff6dc57 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 19 Aug 2017 05:37:35 +0300 Subject: fix testxml reporting error status. --- .tools/testxml.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.tools') diff --git a/.tools/testxml.sh b/.tools/testxml.sh index 7094d26d..eb0cd412 100755 --- a/.tools/testxml.sh +++ b/.tools/testxml.sh @@ -23,8 +23,9 @@ fi echo >../../clientdata/shared/error.log ./testxml.py silent >../../clientdata/shared/error.log +res="$?" cat ../../clientdata/shared/error.log -if [ "$?" != 0 ]; then +if [ "$res" != 0 ]; then echo "test xml error" exit 1 fi -- cgit v1.2.3-70-g09d2