summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2020-12-08 01:51:34 (EST)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2020-12-08 01:51:34 (EST)
commit1af95b30a2e88083e2cc739f259be8feb9038881 (patch)
treefc2eff685e147e9c84e33f91398866b1753450e3
parent824797b55596d45589e5ca49ac906639f6e49f53 (diff)
tests/exe/ob-gencontrol.sh: Test newlines in B-D
-rw-r--r--tests/data/pkg/control3
-rwxr-xr-xtests/exe/ob-gencontrol.sh3
2 files changed, 4 insertions, 2 deletions
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/exe/ob-gencontrol.sh b/tests/exe/ob-gencontrol.sh
index ad12d60..fd58dc9 100755
--- a/tests/exe/ob-gencontrol.sh
+++ b/tests/exe/ob-gencontrol.sh
@@ -34,7 +34,8 @@ cmd_is 'source package control file' cat 'src:foo.control/control' <<-EOF
Architecture: src
Platform: all
Maintainer: "J. Random Hacker" <jrandom@example.com>
- Build-Depends: build-all-runes
+ Build-Depends: build-all-runes, quiet-untuned-xylophone, $(: \
+ )something-completely-different
Installed-Size: 0
Format: 2.0
Description: foo source package