]> diplodocus.org Git - nmh/commitdiff
Add some diagnostics to determine what is going wrong.
authorKen Hornstein <kenh@pobox.com>
Fri, 1 Feb 2013 20:18:47 +0000 (15:18 -0500)
committerKen Hornstein <kenh@pobox.com>
Fri, 1 Feb 2013 20:18:47 +0000 (15:18 -0500)
test/scan/test-scan-multibyte

index c2c581b..3acd1ca 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