pkgsrc-Changes archive

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

CVS commit: pkgsrc/regress/check-portability



Module Name:    pkgsrc
Committed By:   rillig
Date:           Mon May  4 20:29:26 UTC 2020

Modified Files:
        pkgsrc/regress/check-portability: spec
Removed Files:
        pkgsrc/regress/check-portability: Makefile

Log Message:
regress/check-portability: fix regression test for added line numbers

The line numbers were added to the output in check-portability.awk r1.12.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r0 pkgsrc/regress/check-portability/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/regress/check-portability/spec

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/regress/check-portability/spec
diff -u pkgsrc/regress/check-portability/spec:1.1 pkgsrc/regress/check-portability/spec:1.2
--- pkgsrc/regress/check-portability/spec:1.1   Sat Jun 11 10:48:28 2016
+++ pkgsrc/regress/check-portability/spec       Mon May  4 20:29:26 2020
@@ -1,5 +1,5 @@
 #! /bin/sh
-# $NetBSD: spec,v 1.1 2016/06/11 10:48:28 rillig Exp $
+# $NetBSD: spec,v 1.2 2020/05/04 20:29:26 rillig Exp $
 set -eu
 
 check_portability() {
@@ -19,8 +19,8 @@ do_test() {
 } >$TEST_OUTFILE 2>&1
 
 check_result() {
-       output_require "0 for files/portability-ok"
-       output_require "files/portability-test-eqeq: if \["
-       output_require "files/portability-test-eqeq: elif test"
+       output_require "result 0 for files/portability-ok"
+       output_require "files/portability-test-eqeq:[0-9]*: if \["
+       output_require "files/portability-test-eqeq:[0-9]*: elif test"
        output_require "result 1 for files/portability-test-eqeq"
 }



Home | Main Index | Thread Index | Old Index