diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-05-12 18:55:56 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-05-12 18:55:56 -0300 |
commit | 8f70974710ecc2387d11b4016d4e432f9c84d3ba (patch) | |
tree | 97275198e03122c16fe8a5e63db78fbd5066c739 | |
parent | ba714501bdea10a7452e85ffeedb8a40636dcaea (diff) | |
download | clientdata-8f70974710ecc2387d11b4016d4e432f9c84d3ba.tar.gz clientdata-8f70974710ecc2387d11b4016d4e432f9c84d3ba.tar.bz2 clientdata-8f70974710ecc2387d11b4016d4e432f9c84d3ba.tar.xz clientdata-8f70974710ecc2387d11b4016d4e432f9c84d3ba.zip |
I knew this was going to be a pain.
-rwxr-xr-x | .tools/testxml.sh | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/.tools/testxml.sh b/.tools/testxml.sh index 041ce82a..7237c5fb 100755 --- a/.tools/testxml.sh +++ b/.tools/testxml.sh @@ -9,25 +9,25 @@ aptget_install git-core zip gcc zlib1g-dev ca-certificates libxml2-utils python rm -rf tools gitclone https://gitlab.com/themanaworld/evolved messworld-tools.git tools -cd tools/testxml +cd tools/CI/testxml ./xsdcheck.sh check_error $? export RES=$(cat errors.txt) if [[ -n "${RES}" ]]; then - echo "xml check failed" >../../clientdata/shared/error.log - echo ${RES} >>../../clientdata/shared/error.log - cat ../../clientdata/shared/error.log + echo "xml check failed" >../../../clientdata/shared/error.log + echo ${RES} >>../../../clientdata/shared/error.log + cat ../../../clientdata/shared/error.log exit 1 fi -echo >../../clientdata/shared/error.log -./testxml.py stfu >../../clientdata/shared/error.log +echo >../../../clientdata/shared/error.log +./testxml.py stfu >../../../clientdata/shared/error.log res="$?" -cat ../../clientdata/shared/error.log +cat ../../../clientdata/shared/error.log if [ "$res" != 0 ]; then echo "test xml error" exit 1 fi -echo >../../clientdata/shared/error.log +echo >../../../clientdata/shared/error.log |