pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/lintpkgsrc/files/t lintpkgsrc: demonstrate an...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1e4e72d41a71
branches:  trunk
changeset: 383178:1e4e72d41a71
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Aug 14 12:46:39 2022 +0000

description:
lintpkgsrc: demonstrate another bug in brace expansion

diffstat:

 pkgtools/lintpkgsrc/files/t/glob.t |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r e6f3023124b7 -r 1e4e72d41a71 pkgtools/lintpkgsrc/files/t/glob.t
--- a/pkgtools/lintpkgsrc/files/t/glob.t        Sun Aug 14 12:44:17 2022 +0000
+++ b/pkgtools/lintpkgsrc/files/t/glob.t        Sun Aug 14 12:46:39 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: glob.t,v 1.11 2022/08/14 12:44:17 rillig Exp $
+# $NetBSD: glob.t,v 1.12 2022/08/14 12:46:39 rillig Exp $
 #
 # Tests for file globbing and matching.
 
@@ -67,6 +67,8 @@
            [ '<{,opt}>', '<>', '<opt>' ],
            [ '{0,1,2}', '0', '1', '2' ],
            [ '{2,1,0}', '2', '1', '0' ],
+           # FIXME: duplicate 'thirteen'.
+           [ '{thir,f{our,if}}teen', 'thirteen', 'fourteen', 'thirteen', 'fifteen' ]
        );
 
        foreach my $example (@examples) {



Home | Main Index | Thread Index | Old Index