Module Name: src Committed By: rillig Date: Thu Sep 7 06:24:31 UTC 2023
Modified Files: src/tests/usr.bin/xlint/xlint: t_xlint.sh Log Message: tests/lint: allow lint libraries to be installed To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/tests/usr.bin/xlint/xlint/t_xlint.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tests/usr.bin/xlint/xlint/t_xlint.sh diff -u src/tests/usr.bin/xlint/xlint/t_xlint.sh:1.3 src/tests/usr.bin/xlint/xlint/t_xlint.sh:1.4 --- src/tests/usr.bin/xlint/xlint/t_xlint.sh:1.3 Fri Jul 7 19:45:22 2023 +++ src/tests/usr.bin/xlint/xlint/t_xlint.sh Thu Sep 7 06:24:31 2023 @@ -1,4 +1,4 @@ -# $NetBSD: t_xlint.sh,v 1.3 2023/07/07 19:45:22 rillig Exp $ +# $NetBSD: t_xlint.sh,v 1.4 2023/09/07 06:24:31 rillig Exp $ # # Copyright (c) 2023 The NetBSD Foundation, Inc. # All rights reserved. @@ -105,9 +105,12 @@ run_lint2_body() # Most of the command line options are not relevant for lint2, # so they are effectively ignored. The option '-i' is absent. + # + # Depending on whether the lint libraries are installed or not, there + # may be a warning 'cannot find llib-lc.ln' on stderr. atf_check \ -o 'inline:function defined( input.c(4) ), but never used\n' \ - -e 'inline:lint: cannot find llib-lc.ln\n' \ + -e 'ignore' \ "$lint" -aabceghprSTxz input.ln }