Source-Changes-HG archive

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

[src/trunk]: src/tests/usr.bin/xlint/lint1 tests/lint: fix selection of the ....



details:   https://anonhg.NetBSD.org/src/rev/349d92818a80
branches:  trunk
changeset: 379927:349d92818a80
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sun Jun 27 19:41:15 2021 +0000

description:
tests/lint: fix selection of the .exp-ln file

Since t_integration.sh 1.58 from today, the expected .ln output was not
detected anymore.  Changes to the file format would have gone unnoticed.

diffstat:

 tests/usr.bin/xlint/lint1/t_integration.sh |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 1d4ac4597bdd -r 349d92818a80 tests/usr.bin/xlint/lint1/t_integration.sh
--- a/tests/usr.bin/xlint/lint1/t_integration.sh        Sun Jun 27 19:33:25 2021 +0000
+++ b/tests/usr.bin/xlint/lint1/t_integration.sh        Sun Jun 27 19:41:15 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_integration.sh,v 1.62 2021/06/27 19:33:25 rillig Exp $
+# $NetBSD: t_integration.sh,v 1.63 2021/06/27 19:41:15 rillig Exp $
 #
 # Copyright (c) 2008, 2010 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -67,7 +67,7 @@ check_lint1()
 {
        local src="$(atf_get_srcdir)/$1"
        local exp="${src%.c}.exp"
-       local exp_ln="${src%.c}.ln"
+       local exp_ln="${src%.c}.exp-ln"
        local wrk_ln="${1%.c}.ln"
        local flags=""
        local skip=""



Home | Main Index | Thread Index | Old Index