From 5ab1d6078d644a4ab6c0e65dc271cefee6d206f0 Mon Sep 17 00:00:00 2001 From: schmonz Date: Sun, 23 Nov 2014 19:14:40 +0000 Subject: Catch up tests to code: - PythonDependency is a basic vartype - Wording for missing LICENSE has changed (plural -> singular) - Unknown dependency pattern is now ERROR (used to be WARN) - qmail package behavior has been improved a bit (surprise!) --- pkgtools/pkglint/files/pkglint.t | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/pkgtools/pkglint/files/pkglint.t b/pkgtools/pkglint/files/pkglint.t index ba3fe8a8a33..5ec24f42bb1 100644 --- a/pkgtools/pkglint/files/pkglint.t +++ b/pkgtools/pkglint/files/pkglint.t @@ -1,5 +1,5 @@ #! @PERL@ -# $NetBSD: pkglint.t,v 1.10 2014/10/09 13:54:47 wiz Exp $ +# $NetBSD: pkglint.t,v 1.11 2014/11/23 19:14:40 schmonz Exp $ # require 'pkglint.pl'; # so we can test its internals @@ -81,7 +81,7 @@ sub test_get_vartypes_basictypes { Pathlist Pathmask Pathname Perl5Packlist PkgName PkgOptionsVar PkgPath PkgRevision - PlatformTriple PrefixPathname + PlatformTriple PrefixPathname PythonDependency RelativePkgDir RelativePkgPath Restricted SedCommand SedCommands @@ -151,11 +151,11 @@ sub test_lint_some_reference_packages { 'mail/qmail-run' => { stdout_re => < undef, exitcode => 1, @@ -163,12 +163,10 @@ EOT 'mail/qmail' => { stdout_re => < undef, - exitcode => 1, + exitcode => 0, }, 'mail/getmail' => { stdout_re => <