From bbc9b0a8e9d26ce9aa20136ed9bef75a616dbfc0 Mon Sep 17 00:00:00 2001 From: Amit Pundir Date: Wed, 3 Jul 2013 21:08:49 +0530 Subject: update vfat test output update vfat test script to print result in LAVA friendly format. Signed-off-by: Amit Pundir --- vfat-volid/test.sh | 8 +++++--- 1 file 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 -- cgit v1.2.3