summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmit Pundir <amit.pundir@linaro.org>2013-07-03 21:08:49 +0530
committerAmit Pundir <amit.pundir@linaro.org>2013-07-03 21:10:41 +0530
commitbbc9b0a8e9d26ce9aa20136ed9bef75a616dbfc0 (patch)
tree48980cc2dee9c432841939be565b33a926a51b53
parentbfdca243e1d82fa870e0383b96bc41f6d44c629c (diff)
downloadlinaro-android-kernel-test-bbc9b0a8e9d26ce9aa20136ed9bef75a616dbfc0.tar.gz
update vfat test output
update vfat test script to print result in LAVA friendly format. Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
-rw-r--r--vfat-volid/test.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/vfat-volid/test.sh b/vfat-volid/test.sh
index c194273..33bd179 100644
--- a/vfat-volid/test.sh
+++ b/vfat-volid/test.sh
@@ -97,11 +97,13 @@ for FTYPE in 12 16 32; do
do_test "$SIZE" "-F $FTYPE" "$ID"
rc=$?
if [ $rc -ne 0 ]; then
- echo -en "### FAIL code = $rc" | tee -a $LOG
+ echo -e "### FAIL code = $rc" | tee -a $LOG
+ echo -e "[vfat_${FTYPE}_${SIZE}_$ID]: test failed"
else
- echo -en "### PASS" | tee -a $LOG
+ echo -e "### PASS" | tee -a $LOG
+ echo -e "[vfat_${FTYPE}_${SIZE}_$ID]: test passed"
fi
- echo -e " (FTYPE=$FTYPE, SIZE=$SIZE, ID=$ID)\n" | tee -a $LOG
+ echo -e "(FTYPE=$FTYPE, SIZE=$SIZE, ID=$ID)\n" | tee -a $LOG
done
done
done