diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2023-09-25 09:39:13 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2023-09-25 09:40:50 (EDT) |
commit | dfc2e98ae678073977cd66a41592aee25454d757 (patch) | |
tree | 9607e21cd8ee46382feb75385d699c4da0c5f082 /tests/exe/ob-gencontrol.sh | |
parent | af90456043bb2e8a0de9e4fc70e82f4e2ff4b4c0 (diff) |
tests: Add package with duplicate clean name
Diffstat (limited to 'tests/exe/ob-gencontrol.sh')
-rwxr-xr-x | tests/exe/ob-gencontrol.sh | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/tests/exe/ob-gencontrol.sh b/tests/exe/ob-gencontrol.sh index fd58dc9..ecae536 100755 --- a/tests/exe/ob-gencontrol.sh +++ b/tests/exe/ob-gencontrol.sh @@ -22,14 +22,14 @@ set -eu . "${TOP_SRCDIR}/tests/aux/tap-functions.sh" . "${TOP_SRCDIR}/tests/aux/common.sh" -plan_ 12 +plan_ 14 OB_DO_SOURCE='true' command_ok_ 'ob-gencontrol source package exit status' -- \ ob-gencontrol cmd_is 'source package control file' cat 'src:foo.control/control' <<-EOF Package: src:foo Source: foo - Binary: bar baz-qux foo + Binary: bar baz+qux baz-qux foo Version: 1.0-1 Architecture: src Platform: all @@ -83,6 +83,24 @@ 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: Add all the things + This is a frobnicator of objects. Conveniently, it also $(: \ + )bit-bangs all + registers. + . + This package's name contains a plus sign, not to be $(: \ + )confused with the one that + instead contains a hyphen. + EOF cmd_is 'control file' cat 'baz-qux.control/control' <<-EOF Package: baz-qux Source: foo |