summaryrefslogtreecommitdiffstats
path: root/tests/data
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/pkg/bar.pkg/control3
-rw-r--r--tests/data/pkg/baz+qux.pkg/control8
-rwxr-xr-xtests/data/pkg/build1
-rw-r--r--tests/data/pkg/control3
-rw-r--r--tests/data/pkg/foo.pkg/control1
5 files changed, 14 insertions, 2 deletions
diff --git a/tests/data/pkg/bar.pkg/control b/tests/data/pkg/bar.pkg/control
index b0c05fa..93c1198 100644
--- a/tests/data/pkg/bar.pkg/control
+++ b/tests/data/pkg/bar.pkg/control
@@ -1,5 +1,6 @@
-Architecture: all
+Architecture: any
Platform: all
+Section: util
Description: Bit-bang All Registers
${Common-Description}
.
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
diff --git a/tests/data/pkg/control b/tests/data/pkg/control
index 3165de1..f8717ef 100644
--- a/tests/data/pkg/control
+++ b/tests/data/pkg/control
@@ -1,2 +1,3 @@
Maintainer: "J. Random Hacker" <jrandom@example.com>
-Build-Depends: build-all-runes
+Build-Depends: build-all-runes, quiet-untuned-xylophone,
+ something-completely-different,
diff --git a/tests/data/pkg/foo.pkg/control b/tests/data/pkg/foo.pkg/control
index b383ff9..a0320b7 100644
--- a/tests/data/pkg/foo.pkg/control
+++ b/tests/data/pkg/foo.pkg/control
@@ -1,5 +1,6 @@
Architecture: any-linux-any
Platform: all
+Section: lib
Depends: ${Generated-Depends}
Description: Frobnicator of Objects
${Common-Description}