summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2016-03-25 15:44:12 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2016-03-25 15:44:12 +0000
commitd26c3d7e844dc59b3d3af914e1d48d4e2b591825 (patch)
tree1f33d2b21a9a75b90a99cca11440556bbfe6a356 /regress
parentc811b954860c4c84af5cc99ea22d89bcbee7421e (diff)
regression tests for underlined and bold underscores;
currently broken, but natano@ will soon commit the fix to ul.c
Diffstat (limited to 'regress')
-rw-r--r--regress/usr.bin/ul/ul.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/regress/usr.bin/ul/ul.sh b/regress/usr.bin/ul/ul.sh
index 4757eb2be80..bd994f8017c 100644
--- a/regress/usr.bin/ul/ul.sh
+++ b/regress/usr.bin/ul/ul.sh
@@ -166,6 +166,16 @@ test_ul " _ A \0303\0261\r._._._._.\tx" \
"._._\b\025.A\b\025.\0303\0261\b\025. x\n" \
"._._.A.\0303\0261. x\r _ _ _\n" \
"._._.A.\0303\0261. x\n _ _ _\n"
+test_ul "_ x_ x_ _x _x _\r_.x_.__._x.__._\n" \
+ "${i}_${I}.${b}x_${B}.${i}x_${I}.${b}_x${B}.${i}_x${I}.${i}_${I}\n" \
+ "_\b\025.x_.x\b\025_\b\025._x._\b\025x\b\025._\b\025\n" \
+ "_.x_.x_._x._x._\r_ x_ __ _x __ _\n" \
+ "_.x_.x_._x._x._\n_ !! __ !! __ _\n"
+test_ul "_x x_\r_x.x_\n" \
+ "${b}_x${B}.${b}x_${B}\n" \
+ "_x.x_\n" \
+ "_x.x_\r_x x_\n" \
+ "_x.x_\n!! !!\n"
# Overwriting all kinds of characters with ASCII:
test_ul "_ AA\bA \0303\0261\b\0303\0261\rA.Aa.A.\tx" \