Source-Changes-HG archive

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

[src/trunk]: src tests/lint: add expected output for testing '&' in switch st...



details:   https://anonhg.NetBSD.org/src/rev/c3010107726a
branches:  trunk
changeset: 379161:c3010107726a
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sun May 16 00:09:49 2021 +0000

description:
tests/lint: add expected output for testing '&' in switch statement

diffstat:

 distrib/sets/lists/tests/mi              |  3 ++-
 tests/usr.bin/xlint/lint1/expr_range.exp |  2 ++
 2 files changed, 4 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 8e8fd97b21d9 -r c3010107726a distrib/sets/lists/tests/mi
--- a/distrib/sets/lists/tests/mi       Sat May 15 19:19:55 2021 +0000
+++ b/distrib/sets/lists/tests/mi       Sun May 16 00:09:49 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.1050 2021/05/14 21:14:55 rillig Exp $
+# $NetBSD: mi,v 1.1051 2021/05/16 00:09:49 rillig Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 #
@@ -6190,6 +6190,7 @@
 ./usr/tests/usr.bin/xlint/lint1/emit.exp                       tests-usr.bin-tests     compattestfile,atf
 ./usr/tests/usr.bin/xlint/lint1/emit.ln                                tests-usr.bin-tests     compattestfile,atf
 ./usr/tests/usr.bin/xlint/lint1/expr_range.c                   tests-usr.bin-tests     compattestfile,atf
+./usr/tests/usr.bin/xlint/lint1/expr_range.exp                 tests-usr.bin-tests     compattestfile,atf
 ./usr/tests/usr.bin/xlint/lint1/feat_stacktrace.c              tests-usr.bin-tests     compattestfile,atf
 ./usr/tests/usr.bin/xlint/lint1/feat_stacktrace.exp            tests-usr.bin-tests     compattestfile,atf
 ./usr/tests/usr.bin/xlint/lint1/gcc_attribute.c                        tests-usr.bin-tests     compattestfile,atf
diff -r 8e8fd97b21d9 -r c3010107726a tests/usr.bin/xlint/lint1/expr_range.exp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/usr.bin/xlint/lint1/expr_range.exp  Sun May 16 00:09:49 2021 +0000
@@ -0,0 +1,2 @@
+expr_range.c(30): warning: statement not reached [193]
+expr_range.c(39): warning: statement not reached [193]



Home | Main Index | Thread Index | Old Index