Disable the color output to avoid escape sequences in LAVA logs.
Bug-AGL: SPEC-4817
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: Iff38a79b72952416792c4c66d1e482736d308544
#!/bin/bash
+export NO_COLOR=1
+export TERM=dumb
pre_check=`which agl-test`
if [ -n "$pre_check" ] ; then
- agl-test
echo "agl-extend-test is present"
else
echo "agl-test is not installed, abort this test"
exit 127
fi
+# execute
+agl-test
+
if [ -x ./artiproxy-upload.sh ] ; then
LOG_DIR='/var/run/agl-test/logs/log-to-report'
ZIP_FILE=`ls ${LOG_DIR} | grep agl-test-log*`
+ ls -alh ${LOG_DIR}
+
if [ -z $ZIP_FILE ] ; then
echo "Cannot find agl-extend-test log"
exit 1