diff options
author | rillig <rillig@pkgsrc.org> | 2022-08-14 12:46:39 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2022-08-14 12:46:39 +0000 |
commit | 86af421b60d50299e5c1dc7deee1b345a1f3f9f0 (patch) | |
tree | e17cf76ee5904d676bc1e361053218a58973c1ef /pkgtools | |
parent | 653377ecce1715ba23b8e7f723901d2dd5a3cbc3 (diff) | |
download | pkgsrc-86af421b60d50299e5c1dc7deee1b345a1f3f9f0.tar.gz |
lintpkgsrc: demonstrate another bug in brace expansion
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/lintpkgsrc/files/t/glob.t | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgtools/lintpkgsrc/files/t/glob.t b/pkgtools/lintpkgsrc/files/t/glob.t index 16ff2de6575..e76fa5d90a7 100644 --- a/pkgtools/lintpkgsrc/files/t/glob.t +++ b/pkgtools/lintpkgsrc/files/t/glob.t @@ -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) { |