summaryrefslogtreecommitdiff
path: root/.tools
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-19 05:37:35 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-19 05:43:28 +0300
commit794ed545d878661bfbe8fb5385239d276ff6dc57 (patch)
tree04a0bfb87109044fd274068eb28438e14165ea2d /.tools
parent85e8e1e0635bd2920c2e9980cb5bb229b36d0aee (diff)
downloadclientdata-794ed545d878661bfbe8fb5385239d276ff6dc57.tar.gz
clientdata-794ed545d878661bfbe8fb5385239d276ff6dc57.tar.bz2
clientdata-794ed545d878661bfbe8fb5385239d276ff6dc57.tar.xz
clientdata-794ed545d878661bfbe8fb5385239d276ff6dc57.zip
fix testxml reporting error status.
Diffstat (limited to '.tools')
-rwxr-xr-x.tools/testxml.sh3
1 files changed, 2 insertions, 1 deletions
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