]> diplodocus.org Git - nmh/blobdiff - test/scan/test-scan-multibyte
Add some diagnostics to determine what is going wrong.
[nmh] / test / scan / test-scan-multibyte
index c2c581bcc1bfba3db3f1733fa917addf72a644bf..3acd1ca123cfe78705ee9eb312d18732bb7b0c6a 100755 (executable)
@@ -70,12 +70,14 @@ else
 fi
 
 scan -width 80 +inbox 11 > $actual || exit 1
+set -x
 oldfailed="${failed:-0}"
 check "$expected" "$actual"
 if test "$oldfailed" -ne "${failed:-0}"; then
        echo "Complete UTF-8 width table for BMP"
        ${MH_OBJ_DIR}/test/getcwidth --dump
 fi
+set +x
 
 #
 # Check decoding with an invalid multibyte sequence.  We skip this test