diff options
author | 2015-09-08 22:57:28 +0000 | |
---|---|---|
committer | 2015-09-08 22:57:28 +0000 | |
commit | 6a99d6faab5288e61ff4975140daf4451d39918a (patch) | |
tree | d2973aa0d4a46f3faf8559705183d28c99e15c9a | |
parent | Give the pool page allocator backends more sensible names. We now have: (diff) | |
download | wireguard-openbsd-6a99d6faab5288e61ff4975140daf4451d39918a.tar.xz wireguard-openbsd-6a99d6faab5288e61ff4975140daf4451d39918a.zip |
Apparently, some recent update of Unicode data in the base system
changed the output of wcwidth(3) for some weird Unicode characters,
causing harmless whitespace changes in mandoc(1) output; fix up the
regression suite accordingly.
The processing of the characters themselves still works correctly,
as it did before, and that's what these tests are intended to make
sure. They were never intended to check for whitespace issues.
Problem reported by jsg@.
5 files changed, 31 insertions, 31 deletions
diff --git a/regress/usr.bin/mandoc/char/unicode/input.out_utf8 b/regress/usr.bin/mandoc/char/unicode/input.out_utf8 index fc7a59e1092..44813b8d7ae 100644 --- a/regress/usr.bin/mandoc/char/unicode/input.out_utf8 +++ b/regress/usr.bin/mandoc/char/unicode/input.out_utf8 @@ -13,15 +13,15 @@ DDEESSCCRRIIPPTTIIOONN U+0000 0x00 �? lowest ASCII U+001f 0x1f �? highest ASCII control character U+007f 0x7f �? highest ASCII - 0x80 ? leading lowest continuation - 0xbf ? leading highest continuation + 0x80 ? leading lowest continuation + 0xbf ? leading highest continuation TTwwoo--bbyyttee rraannggee U+0000 0xc080 ?? lowest obfuscated ASCII U+007f 0xc1bf ?? highest obfuscated ASCII 0xc278 ?x ASCII continuation - U+0080 0xc280 �� lowest two-byte + U+0080 0xc280 �� lowest two-byte 0xc2c380 ?À high continuation U+07FF 0xdfbf ߿߿ highest two-byte @@ -31,15 +31,15 @@ DDEESSCCRRIIPPTTIIOONN U+007f 0xe081bf ??? highest obfuscated ASCII U+0080 0xe08280 ??? lowest obfuscated two-byte U+07FF 0xe09fbf ??? highest obfuscated two-byte - U+0800 0xe0a080 ࠀࠀ lowest three-byte + U+0800 0xe0a080 ࠀࠀ lowest three-byte U+0FFF 0xe0bfbf end of first middle byte U+1000 0xe18080 ကက begin of second middle byte U+CFFF 0xecbfbf 쿿쿿 end of last normal middle byte U+D000 0xed8080 퀀퀀 begin of strange middle byte U+D7FF 0xed9fbf highest public three-byte - U+D800 0xeda080 ??? lowest surrogate - U+DFFF 0xedbfbf ??? highest surrogate - U+E000 0xee8080 lowest private use + U+D800 0xeda080 ??? lowest surrogate + U+DFFF 0xedbfbf ??? highest surrogate + U+E000 0xee8080 lowest private use U+FFFF 0xefbfbf highest three-byte FFoouurr--bbyyttee rraannggee @@ -54,7 +54,7 @@ DDEESSCCRRIIPPTTIIOONN U+3FFFF 0xf0bfbfbf end of first middle byte U+40000 0xf1808080 second middle byte U+FFFFF 0xf3bfbfbf last normal middle byte - U+100000 0xf4808080 strange middle byte + U+100000 0xf4808080 strange middle byte U+10FFFF 0xf48fbfbf last valid four-byte U+110000 0xf4908080 ???? lowest beyond Unicode U+13FFFF 0xf4bfbfbf ???? end of strange middle byte diff --git a/regress/usr.bin/mandoc/char/unicode/latin1.in b/regress/usr.bin/mandoc/char/unicode/latin1.in index aedb8be8bbe..4c99e986651 100644 --- a/regress/usr.bin/mandoc/char/unicode/latin1.in +++ b/regress/usr.bin/mandoc/char/unicode/latin1.in @@ -13,7 +13,7 @@ BEGINTEST \[u00AA] FEMININE ORDINAL INDICATOR \[u00AB]\(Fo LEFT-POINTING DOUBLE ANGLE QUOTATION MARK \[u00AC]\(no\[tno] NOT SIGN -\[u00AD] SOFT HYPHEN +\[u00AD] SOFT HYPHEN \[u00AE]\(rg REGISTERED SIGN \[u00B1]\(+-\[t+-] PLUS-MINUS SIGN \[u00B2] SUPERSCRIPT TWO diff --git a/regress/usr.bin/mandoc/char/unicode/latin1.out_ascii b/regress/usr.bin/mandoc/char/unicode/latin1.out_ascii index 36aae4a2e68..1eb8436d69b 100644 --- a/regress/usr.bin/mandoc/char/unicode/latin1.out_ascii +++ b/regress/usr.bin/mandoc/char/unicode/latin1.out_ascii @@ -16,7 +16,7 @@ DDEESSCCRRIIPPTTIIOONN _a FEMININE ORDINAL INDICATOR <<<< LEFT-POINTING DOUBLE ANGLE QUOTATION MARK ~~~ NOT SIGN - SOFT HYPHEN + SOFT HYPHEN (R)(R) REGISTERED SIGN +-+-+- PLUS-MINUS SIGN 2 SUPERSCRIPT TWO diff --git a/regress/usr.bin/mandoc/char/unicode/latin1.out_html b/regress/usr.bin/mandoc/char/unicode/latin1.out_html index 2eebcbabc5e..428a00d08af 100644 --- a/regress/usr.bin/mandoc/char/unicode/latin1.out_html +++ b/regress/usr.bin/mandoc/char/unicode/latin1.out_html @@ -8,7 +8,7 @@ BEGINTEST<br/> ª FEMININE ORDINAL INDICATOR<br/> «« LEFT-POINTING DOUBLE ANGLE QUOTATION MARK<br/> ¬¬¬ NOT SIGN<br/> -­ SOFT HYPHEN<br/> +­ SOFT HYPHEN<br/> ®® REGISTERED SIGN<br/> ±±± PLUS-MINUS SIGN<br/> ² SUPERSCRIPT TWO<br/> diff --git a/regress/usr.bin/mandoc/char/unicode/nogroff.out_utf8 b/regress/usr.bin/mandoc/char/unicode/nogroff.out_utf8 index 47ead902755..3c93683fe22 100644 --- a/regress/usr.bin/mandoc/char/unicode/nogroff.out_utf8 +++ b/regress/usr.bin/mandoc/char/unicode/nogroff.out_utf8 @@ -7,23 +7,23 @@ NNAAMMEE DDEESSCCRRIIPPTTIIOONN BEGINTEST - �� <control> NULL - �� <control> START OF HEADING - �� <control> BELL - �� <control> BACKSPACE + �� <control> NULL + �� <control> START OF HEADING + �� <control> BELL + �� <control> BACKSPACE <control> CHARACTER TABULATION - �� <control> LINE FEED - �� <control> LINE TABULATION - �� <control> FORM FEED - �� <control> CARRIAGE RETURN - �� <control> ESCAPE - �� <control> DELETE - �� <control> 0x80 - �� <control> 0x81 - �� <control> BREAK PERMITTED HERE - �� <control> NO BREAK HERE - �� <control> PRIVACY MESSAGE - �� <control> APPLICATION PROGRAM COMMAND + �� <control> LINE FEED + �� <control> LINE TABULATION + �� <control> FORM FEED + �� <control> CARRIAGE RETURN + �� <control> ESCAPE + �� <control> DELETE + �� <control> 0x80 + �� <control> 0x81 + �� <control> BREAK PERMITTED HERE + �� <control> NO BREAK HERE + �� <control> PRIVACY MESSAGE + �� <control> APPLICATION PROGRAM COMMAND ≪≪ MUCH LESS-THAN ≫≫ MUCH GREATER-THAN ffff LATIN SMALL LIGATURE FF @@ -31,15 +31,15 @@ DDEESSCCRRIIPPTTIIOONN flfl LATIN SMALL LIGATURE FL ffiffi LATIN SMALL LIGATURE FFI fflffl LATIN SMALL LIGATURE FFL - � REPLACEMENT CHARACTER + � REPLACEMENT CHARACTER <undefined> <undefined> 𐀀 LINEAR B SYLLABLE B008 A - <Plane 15 Private Use, Last> + <Plane 15 Private Use, Last> <undefined> <undefined> - <Plane 16 Private Use, First> - <Plane 16 Private Use, Last> + <Plane 16 Private Use, First> + <Plane 16 Private Use, Last> <undefined> <undefined> ENDTEST |