summaryrefslogtreecommitdiffstats
path: root/tests/data/pkg
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2023-09-25 09:39:13 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2023-09-25 09:40:50 (EDT)
commitdfc2e98ae678073977cd66a41592aee25454d757 (patch)
tree9607e21cd8ee46382feb75385d699c4da0c5f082 /tests/data/pkg
parentaf90456043bb2e8a0de9e4fc70e82f4e2ff4b4c0 (diff)
tests: Add package with duplicate clean name
Diffstat (limited to 'tests/data/pkg')
-rw-r--r--tests/data/pkg/baz+qux.pkg/control8
-rwxr-xr-xtests/data/pkg/build1
2 files changed, 9 insertions, 0 deletions
diff --git a/tests/data/pkg/baz+qux.pkg/control b/tests/data/pkg/baz+qux.pkg/control
new file mode 100644
index 0000000..1ecae47
--- /dev/null
+++ b/tests/data/pkg/baz+qux.pkg/control
@@ -0,0 +1,8 @@
+Architecture: all
+Platform: all
+Depends: ${Generated-Depends}
+Description: Add all the things
+ ${Common-Description}
+ .
+ This package's name contains a plus sign, not to be confused with the one that
+ instead contains a hyphen.
diff --git a/tests/data/pkg/build b/tests/data/pkg/build
index dbc550a..abbfe8f 100755
--- a/tests/data/pkg/build
+++ b/tests/data/pkg/build
@@ -5,4 +5,5 @@ build:
install: build
install -p -m 755 -D src/src/foo.sh foo.data/usr/bin/foo.sh
printf 'Generated-Depends: bar\n' >foo.substvars
+ printf 'Generated-Depends: bar\n' >baz+qux.substvars
printf 'Generated-Depends: bar\n' >baz-qux.substvars