summaryrefslogtreecommitdiffstats
path: root/tests/exe/ob-gencontrol.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/exe/ob-gencontrol.sh')
-rwxr-xr-xtests/exe/ob-gencontrol.sh18
1 files changed, 17 insertions, 1 deletions
diff --git a/tests/exe/ob-gencontrol.sh b/tests/exe/ob-gencontrol.sh
index 554e53e..f64d512 100755
--- a/tests/exe/ob-gencontrol.sh
+++ b/tests/exe/ob-gencontrol.sh
@@ -22,7 +22,7 @@ set -eu
. "${TOP_SRCDIR}/tests/aux/tap-functions.sh"
. "${TOP_SRCDIR}/tests/aux/common.sh"
-plan_ 8
+plan_ 10
rm -Rf 'src/' *'.data/'
cp -Rp '../../src/' 'src/'
@@ -64,4 +64,20 @@ for run in 'first' 'second'; do
.
This package assists in bit-banging all yer registers.
EOF
+ cmd_is 'control file' cat 'baz-qux.control/control' <<-EOF
+ Package: baz-qux
+ Source: foo
+ Version: 1.0-1
+ Architecture: all
+ Platform: all
+ Maintainer: "J. Random Hacker" <jrandom@example.com>
+ Depends: bar
+ Installed-Size: 0
+ Description: Hyphenate all the things
+ This is a frobnicator of objects. Conveniently, it also $(: \
+ )bit-bangs all
+ registers.
+ .
+ This package's name contains a hyphen. That is all.
+ EOF
done