diff --git a/tests/README.md b/tests/README.md index eaed7128..5358a43c 100644 --- a/tests/README.md +++ b/tests/README.md @@ -4,6 +4,9 @@ Manual testcases This directory contains various files and programs for manual testing of issues discovered in the past. +The legacy directory contains some tests whose purpose have been lost to time. +If you know how to use them please update this README. + Text files ========== @@ -12,10 +15,41 @@ Just run `cat filename` in Konsole to verify that they are working. If rendering related, open in a competent graphical text editor to compare and/or in other terminal emulators. - - [Decomposed hangul: Testcase for commit 43744097](textfiles/text-files/decomposed-hangul.txt) - - [Characters available in 9x15, encoded in UTF-8](text-files/9x15.repertoire-utf8) - - [Box characters](text-files/boxes.txt) - - [Various URLs](text-files/cat_test_urls) - - [UTF-8 test file from the Kermit project](text-files/GLASS.utf8) + - [Various URLs](text-files/cat_test_urls.txt) - [Emojis](text-files/emoji_test.txt) + - [Box characters](text-files/boxes.txt) + - [URL escape sequences](text-files/url-escape-sequences.txt): Hides the real URL that is opened if clicked. + - [Characters available in 9x15, encoded in UTF-8](text-files/9x15.repertoire-utf8.txt) + - [UTF-8 decomposed hangul character](textfiles/text-files/decomposed-hangul.txt): Testcase for commit 43744097. + - [UTF-8 test file from the Kermit project](text-files/GLASS.utf8.txt) - [Markus Kuhn's UTF-8 sample](text-files/UTF-8-demo.txt) + - [UTF-8 stress test](text-files/UTF-8-test.txt) + + +Features +======== + + - [SGR formatting](features/sgr2-8-9-53.sh) + - [Eterm ANSI formatting test, full](features/colortest.sh) + - [Eterm ANSI formatting test, simplified](features/ct2.sh) + - [Line block characters](features/line_block_characters_table.py) + - [Signal tester](features/signaltests.c): Prints the signal it receives. + - [Set window title](features/titletest.sh) + - [Turn UTF-8 on or off](features/utf8.sh) + + +Bugs +==== + +Running these might trigger hanging or crashing. + + - [Long lines](bugs/bulktest.sh): Prints an infinitely long line. + - [Combining characters](bugs/combining.py): Prints infinitely long combining character. + - [Reflow crash](bugs/resize-test.sh): Fills a single line exactly to width. + - [Spam stderr](bugs/spam-stderr.c): Prints to stderr as fast as possible. Testcase for commit ac59cc7e, bug 230184, "konsole hangs for a long time when lots of stderr output is performed". + - [Problematic unicode characters](bugs/unicode.py): Testcase for bug 210329, "some unicode characters are displayed as whitespace". + + +Various +======= + - [Ripple or reflow related](misc/ripple.c): Fills a specified width x height with text. diff --git a/tests/bulktest.sh b/tests/bugs/bulktest.sh similarity index 100% rename from tests/bulktest.sh rename to tests/bugs/bulktest.sh diff --git a/tests/combining.py b/tests/bugs/combining.py similarity index 100% rename from tests/combining.py rename to tests/bugs/combining.py diff --git a/tests/resize-test.sh b/tests/bugs/resize-test.sh similarity index 100% rename from tests/resize-test.sh rename to tests/bugs/resize-test.sh diff --git a/tests/spam-stderr.c b/tests/bugs/spam-stderr.c similarity index 100% rename from tests/spam-stderr.c rename to tests/bugs/spam-stderr.c diff --git a/tests/unicode.py b/tests/bugs/unicode.py similarity index 100% rename from tests/unicode.py rename to tests/bugs/unicode.py diff --git a/tests/colortest.sh b/tests/features/colortest.sh similarity index 100% rename from tests/colortest.sh rename to tests/features/colortest.sh diff --git a/tests/ct2 b/tests/features/ct2.sh similarity index 100% rename from tests/ct2 rename to tests/features/ct2.sh diff --git a/tests/line_block_characters_table.py b/tests/features/line_block_characters_table.py similarity index 100% rename from tests/line_block_characters_table.py rename to tests/features/line_block_characters_table.py diff --git a/tests/sgr2-8-9-53.sh b/tests/features/sgr2-8-9-53.sh similarity index 100% rename from tests/sgr2-8-9-53.sh rename to tests/features/sgr2-8-9-53.sh diff --git a/tests/signaltests.c b/tests/features/signaltests.c similarity index 100% rename from tests/signaltests.c rename to tests/features/signaltests.c diff --git a/tests/titletest.sh b/tests/features/titletest.sh similarity index 100% rename from tests/titletest.sh rename to tests/features/titletest.sh diff --git a/tests/utf8.sh b/tests/features/utf8.sh similarity index 100% rename from tests/utf8.sh rename to tests/features/utf8.sh diff --git a/tests/audit.c b/tests/legacy/audit.c similarity index 100% rename from tests/audit.c rename to tests/legacy/audit.c diff --git a/tests/quote.c b/tests/legacy/quote.c similarity index 100% rename from tests/quote.c rename to tests/legacy/quote.c diff --git a/tests/sesstest b/tests/legacy/sesstest.sh similarity index 100% rename from tests/sesstest rename to tests/legacy/sesstest.sh diff --git a/tests/ripple.c b/tests/misc/ripple.c similarity index 100% rename from tests/ripple.c rename to tests/misc/ripple.c diff --git a/tests/text-files/9x15.repertoire-utf8 b/tests/text-files/9x15.repertoire-utf8.txt similarity index 100% rename from tests/text-files/9x15.repertoire-utf8 rename to tests/text-files/9x15.repertoire-utf8.txt diff --git a/tests/text-files/GLASS.utf8 b/tests/text-files/GLASS.utf8.txt similarity index 100% rename from tests/text-files/GLASS.utf8 rename to tests/text-files/GLASS.utf8.txt diff --git a/tests/UTF-8-test.txt b/tests/text-files/UTF-8-test.txt similarity index 100% rename from tests/UTF-8-test.txt rename to tests/text-files/UTF-8-test.txt diff --git a/tests/text-files/cat_test_urls b/tests/text-files/cat_test_urls.txt similarity index 100% rename from tests/text-files/cat_test_urls rename to tests/text-files/cat_test_urls.txt diff --git a/tests/url-escape-sequences.txt b/tests/text-files/url-escape-sequences.txt similarity index 100% rename from tests/url-escape-sequences.txt rename to tests/text-files/url-escape-sequences.txt