The following commit has been merged in the master branch: commit 0f9c9c3cb72f17b359d538c725f4cbe39d260ce2 Author: Raphael Geissert <atom...@gmail.com> Date: Wed Jan 21 14:47:06 2009 -0600
Test the new Options feature of t/runtests Signed-off-by: Raphael Geissert <atom...@gmail.com> diff --git a/t/tests/0700_runtests-options.desc b/t/tests/0700_runtests-options.desc new file mode 100644 index 0000000..937a055 --- /dev/null +++ b/t/tests/0700_runtests-options.desc @@ -0,0 +1,8 @@ +Testname: runtests-options +Version: 1.0 +Description: Test a bad package but use -C to only catch some tags +Test-For: + invalid-standards-version +Test-Against: + new-essential-package +Options: -C standards-version diff --git a/t/tests/standards-version-invalid/debian/debian/control.in b/t/tests/runtests-options/debian/debian/control.in similarity index 91% copy from t/tests/standards-version-invalid/debian/debian/control.in copy to t/tests/runtests-options/debian/debian/control.in index a55e976..5f51448 100644 --- a/t/tests/standards-version-invalid/debian/debian/control.in +++ b/t/tests/runtests-options/debian/debian/control.in @@ -2,10 +2,11 @@ Source: {$srcpkg} Priority: extra Section: {$section} Maintainer: {$author} -Standards-Version: 3.8 +Standards-Version: 1.2.3 Build-Depends: debhelper (>= 7) Package: {$srcpkg} +Essential: yes Architecture: {$architecture} Depends: $\{shlibs:Depends\}, $\{misc:Depends\} Description: {$description} diff --git a/t/tests/runtests-options/tags b/t/tests/runtests-options/tags new file mode 100644 index 0000000..9e987ea --- /dev/null +++ b/t/tests/runtests-options/tags @@ -0,0 +1 @@ +E: runtests-options source: invalid-standards-version 1.2.3 -- Debian package checker -- To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org