diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-06-16 18:49:02 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-06-16 18:49:02 (EDT) |
commit | a540261b157faa69588f4155a22988d84d2695b6 (patch) | |
tree | ba2790f6c436ce70883a86dcc6ff54ac7642aac3 /tests/exe | |
parent | 3bc002a39d7ec61ee5f143bb338a425f0ddc5753 (diff) |
tests/exe/ob-gencontrol.sh: Test source package control contents
Diffstat (limited to 'tests/exe')
-rwxr-xr-x | tests/exe/ob-gencontrol.sh | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/tests/exe/ob-gencontrol.sh b/tests/exe/ob-gencontrol.sh index f64d512..a6407c1 100755 --- a/tests/exe/ob-gencontrol.sh +++ b/tests/exe/ob-gencontrol.sh @@ -22,7 +22,21 @@ set -eu . "${TOP_SRCDIR}/tests/aux/tap-functions.sh" . "${TOP_SRCDIR}/tests/aux/common.sh" -plan_ 10 +plan_ 12 + +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: foo + Binary: bar baz-qux foo + Version: 1.0-1 + Architecture: src + Platform: all + Maintainer: "J. Random Hacker" <jrandom@example.com> + Build-Depends: build-all-runes + Installed-Size: 0 + Description: foo source package + EOF rm -Rf 'src/' *'.data/' cp -Rp '../../src/' 'src/' |