]> diplodocus.org Git - nmh/blobdiff - test/scan/test-scan-multibyte
Added set -x to test-ali.
[nmh] / test / scan / test-scan-multibyte
index 2650d12443b40815d59926974ef0df6f8a2e2588..3acd1ca123cfe78705ee9eb312d18732bb7b0c6a 100755 (executable)
@@ -70,7 +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