lintpkgsrc, regress: update references to pkglint files

The source code of pkglint is no longer stored in pkgsrc itself.
pull/127/head
rillig 2023-10-16 22:21:55 +00:00
parent d4866ca188
commit 781d0c86e4
2 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: pkgversion.t,v 1.12 2022/08/13 12:22:20 rillig Exp $
# $NetBSD: pkgversion.t,v 1.13 2023/10/16 22:21:55 rillig Exp $
#
# Tests for parsing and comparing package versions, such as 1.0nb4.
@ -14,7 +14,7 @@ require('../lintpkgsrc.pl');
ok(pkgversion_cmp('3.4', '<', '3.4'), '');
ok(pkgversion_cmp('3.4', '<=', '3.4'), 1);
# See pkgtools/pkglint/files/pkgver/vercmp_test.go.
# See pkgtools/pkglint, file pkgver/vercmp_test.go.
my @split_version_tests = (
[ '5.0', [ [ 5, 0, 0 ], 0 ] ],
[ '5.0nb5', [ [ 5, 0, 0 ], 5 ] ],
@ -44,7 +44,7 @@ foreach my $test (@split_version_tests) {
ok($actual_str, $expected_str);
}
# See pkgtools/pkglint/files/pkgver/vercmp_test.go.
# See pkgtools/pkglint, file pkgver/vercmp_test.go.
my @versions = (
[ '0pre20160620' ],
[ '0' ],

View File

@ -1,5 +1,5 @@
#! /bin/sh
# $NetBSD: spec,v 1.3 2020/05/19 05:02:42 rillig Exp $
# $NetBSD: spec,v 1.4 2023/10/16 22:21:55 rillig Exp $
# This test demonstrates how the RCS Ids from the package files end up in
# the +BUILD_VERSION file of the binary package.
@ -22,7 +22,7 @@
# to the RCS Ids from the binary package, to see whether the package
# needs to be built again.
#
# pkgtools/pkglint/files/distinfo.go, function computePatchSha1Hex:
# pkgtools/pkglint, file distinfo.go, function computePatchSha1Hex:
# Same as mk/checksum/checksum.
#
# All these places must use the same patterns for extracting the RCS Ids.