Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libcurses/check_files tests/libcurses: fix expecte...



details:   https://anonhg.NetBSD.org/src/rev/4602f0b4bd21
branches:  trunk
changeset: 951926:4602f0b4bd21
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sun Feb 07 18:56:37 2021 +0000

description:
tests/libcurses: fix expected test output

The test framework doesn't check the files strictly, it only checks
whether the expected output is a prefix of the actual output, or vice
versa.  This allows several deviations to pass unnoticed, which is
wrong.

diffstat:

 tests/lib/libcurses/check_files/addchstr2.chk |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (9 lines):

diff -r fcc679a47a11 -r 4602f0b4bd21 tests/lib/libcurses/check_files/addchstr2.chk
--- a/tests/lib/libcurses/check_files/addchstr2.chk     Sun Feb 07 18:32:20 2021 +0000
+++ b/tests/lib/libcurses/check_files/addchstr2.chk     Sun Feb 07 18:56:37 2021 +0000
@@ -1,1 +1,1 @@
-smulrevfgh
rmulsgr0
+smulrevfgh
rmulsgr0
\ No newline at end of file



Home | Main Index | Thread Index | Old Index