Allow quotes around the result string, to make it easier to see important
authordrepper <drepper>
Fri, 5 Dec 2003 09:46:58 +0000 (09:46 +0000)
committerdrepper <drepper>
Fri, 5 Dec 2003 09:46:58 +0000 (09:46 +0000)
whitespace.
Clean up output, unify capitalization and output order.

localedata/tst-fmon.sh

index c8b6d69..95dab36 100755 (executable)
@@ -44,16 +44,17 @@ errcode=0
 while IFS="    " read locale format value expect; do
     case "$locale" in '#'*) continue ;; esac
     if [ -n "$format" ]; then
+       expect=`echo "$expect" | sed 's/^\"\(.*\)\"$/\1/'`
        if LOCPATH=${common_objpfx}localedata \
           GCONV_PATH=${common_objpfx}/iconvdata \
           ${run_program_prefix} ${common_objpfx}localedata/tst-fmon \
           "$locale" "$format" "$value" "$expect" ; then
            echo "Locale: \"${locale}\" Format: \"${format}\"" \
-                "Value: \"${value}\" Expect: \"${expect}\"  passed"
+                "Value: \"${value}\" Expected: \"${expect}\"  passed"
        else
            errcode=$?
            echo "Locale: \"${locale}\" Format: \"${format}\"" \
-                "Value: \"${value}\" Expect: \"${expect}\"    failed"
+                "Value: \"${value}\" Expected: \"${expect}\"    failed"
        fi
     fi
 done < $datafile