summaryrefslogtreecommitdiffstats
path: root/tests/data
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-04-02 04:42:46 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-04-02 04:55:54 (EDT)
commite204e64f7cd1113fcb24c25016ae1bfe82f2df7b (patch)
tree3647f817e5ab2457e37c6637ae48355387cb479a /tests/data
parente37dd9295e0d1c842f33a0502d2af0612015543f (diff)
Add test binary package with hyphenated name
And update tests.
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/pkg/baz-qux.pkg/control7
-rwxr-xr-xtests/data/pkg/build1
2 files changed, 8 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..904541e
--- /dev/null
+++ b/tests/data/pkg/baz-qux.pkg/control
@@ -0,0 +1,7 @@
+Architecture: all
+Platform: all
+Depends: ${Generated-Depends}
+Description: Hyphenate all the things
+ ${Common-Description}
+ .
+ This package's name contains a hyphen. That is all.
diff --git a/tests/data/pkg/build b/tests/data/pkg/build
index f7055f8..dbc550a 100755
--- a/tests/data/pkg/build
+++ b/tests/data/pkg/build
@@ -5,3 +5,4 @@ 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