diff options
author | Patrick 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) |
commit | e204e64f7cd1113fcb24c25016ae1bfe82f2df7b (patch) | |
tree | 3647f817e5ab2457e37c6637ae48355387cb479a /tests/exe/ob-gencontrol.sh | |
parent | e37dd9295e0d1c842f33a0502d2af0612015543f (diff) |
Add test binary package with hyphenated name
And update tests.
Diffstat (limited to 'tests/exe/ob-gencontrol.sh')
-rwxr-xr-x | tests/exe/ob-gencontrol.sh | 18 |
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 |