X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/d7d9ff56fcd4d803799657a5b46d0022e9837e1d..c49ef61e9b0cfeaa64c30321955b6e88f3d7aa26:/test/scan/test-scan-multibyte diff --git a/test/scan/test-scan-multibyte b/test/scan/test-scan-multibyte index 2650d124..3acd1ca1 100755 --- a/test/scan/test-scan-multibyte +++ b/test/scan/test-scan-multibyte @@ -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