pkgsrc-Changes archive

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

CVS commit: pkgsrc/pkgtools/lintpkgsrc/files/t



Module Name:    pkgsrc
Committed By:   rillig
Date:           Sun Aug 14 12:46:39 UTC 2022

Modified Files:
        pkgsrc/pkgtools/lintpkgsrc/files/t: glob.t

Log Message:
lintpkgsrc: demonstrate another bug in brace expansion


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/pkgtools/lintpkgsrc/files/t/glob.t

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

Modified files:

Index: pkgsrc/pkgtools/lintpkgsrc/files/t/glob.t
diff -u pkgsrc/pkgtools/lintpkgsrc/files/t/glob.t:1.11 pkgsrc/pkgtools/lintpkgsrc/files/t/glob.t:1.12
--- pkgsrc/pkgtools/lintpkgsrc/files/t/glob.t:1.11      Sun Aug 14 12:44:17 2022
+++ pkgsrc/pkgtools/lintpkgsrc/files/t/glob.t   Sun Aug 14 12:46:39 2022
@@ -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 @@ sub test_expand_braces() {
            [ '<{,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