From: Ken Hornstein Date: Fri, 1 Feb 2013 20:18:47 +0000 (-0500) Subject: Add some diagnostics to determine what is going wrong. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/62988984527c450219fd6808946c618280371047?ds=sidebyside Add some diagnostics to determine what is going wrong. --- diff --git a/test/scan/test-scan-multibyte b/test/scan/test-scan-multibyte index c2c581bc..3acd1ca1 100755 --- a/test/scan/test-scan-multibyte +++ b/test/scan/test-scan-multibyte @@ -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