-
1198915f
by Felix Lechner
at 2019-04-03T17:12:41Z
Add test selector 'skeleton:' to effectively select the old test suites.
Some work remains to be done with templates for the old suites. The
skeletons correspond more or less to those suites. This change makes
it easier to test a template, as all affected tests run at the same
time.
The goal is to devolve Makefiles that currently create static files
into files in the filesystem. Another goal is to reduce the number of
customized Makefiles, whenever a test diverges from the template.
Gbp-Dch: ignore
-
35c645fb
by Felix Lechner
at 2019-04-03T17:12:41Z
Add template whitelist for binary control files.
We previously used the 'debian-packaging' whitelist, but that list is
really for Debian source packages. This whitelist is intended only for
the files that appear in the DEBIAN folder when working with dpkg-deb.
Gbp-Dch: ignore
-
48a933b1
by Felix Lechner
at 2019-04-03T17:12:41Z
Add template whitelist for mandatory documentation (changelog).
The skeleton for binary *.deb packages requires these files but the
files are not part of the 'control' set. They are placed in
data.tar.gz. Both kinds of files were previously commingled. This
separates them.
Gbp-Dch: ignore
-
af9ed6eb
by Felix Lechner
at 2019-04-03T17:12:41Z
Move templates for mandatory docs to their own template set.
Like the previous commit, this changes accounts properly for the fact,
that the mandatory documentation items in binary files are not part of
the 'control' set (the DEBIAN folder, when working with dpkg-deb).
In the new template, these files are installed in ./doc. The old
control set now goes into ./DEBIAN.
Gbp-Dch: ignore
-
e9ad25ce
by Felix Lechner
at 2019-04-03T17:12:41Z
Rename DEBIAN template set to binary-control and remove mandatory docs.
This is the set of control files for binary packages. It is installed
into the ./DEBIAN folder in each test output directory for tests that
use the 'deb' skeleton.
Gbp-Dch: ignore
-
be279c36
by Felix Lechner
at 2019-04-03T17:12:41Z
Adjust skeleton for building binary debian packages.
Incorporates the new templates and whitelist into the 'deb' skeleton.
Also provides for the possible filling of scripts used in the new
builder for such packages.
Gbp-Dch: ignore
-
11ecea00
by Felix Lechner
at 2019-04-03T17:12:41Z
New make-based builder for binary Debian packages.
Replaces the t/bin/create-deb that was previously used for most tests
with skeleton 'deb'. That program was not usable for all tests. The
current solution no longer depends on that program.
This builder has not been tested well with non-native packages (there
is only one test with this skeleton that uses it) and will probably
fail. The t/bin/create-deb program is kept in hope it may provide
guidance when such functionality is being provided.
Gbp-Dch: ignore
-
d1949566
by Felix Lechner
at 2019-04-03T17:12:41Z
Fix test changelog-file-syntax.
Adjusts this test to use the new and improved 'debs' skeleton. It
features a make-based builder that works with all tests. It no longer
uses t/bin/create-deb.
Control files are located in the ./DEBIAN folder. The mandatory
documentation files copyright and changelog are in the ./doc folder.
Extra data files are provided in the ./root folder. The package is
built from files in the ./build folder, which is also the folder in
which the scripts tend to operate to set links or permissions, for
example.
Gbp-Dch: ignore
-
ed955eac
by Felix Lechner
at 2019-04-03T17:12:41Z
Fix test control-files-bad.
Adjusts this test to use the new and improved 'debs' skeleton. It
features a make-based builder that works with all tests. It no longer
uses t/bin/create-deb.
Control files are located in the ./DEBIAN folder. The mandatory
documentation files copyright and changelog are in the ./doc folder.
Extra data files are provided in the ./root folder. The package is
built from files in the ./build folder, which is also the folder in
which the scripts tend to operate to set links or permissions, for
example.
Gbp-Dch: ignore
-
8c20c74d
by Felix Lechner
at 2019-04-03T17:12:41Z
Fix test control-files-traversal.
Adjusts this test to use the new and improved 'debs' skeleton. It
features a make-based builder that works with all tests. It no longer
uses t/bin/create-deb.
Control files are located in the ./DEBIAN folder. The mandatory
documentation files copyright and changelog are in the ./doc folder.
Extra data files are provided in the ./root folder. The package is
built from files in the ./build folder, which is also the folder in
which the scripts tend to operate to set links or permissions, for
example.
Gbp-Dch: ignore
-
1061f1b4
by Felix Lechner
at 2019-04-03T17:12:41Z
Fix test control-field-traversal-4.
Adjusts this test to use the new and improved 'debs' skeleton. It
features a make-based builder that works with all tests. It no longer
uses t/bin/create-deb.
Control files are located in the ./DEBIAN folder. The mandatory
documentation files copyright and changelog are in the ./doc folder.
Extra data files are provided in the ./root folder. The package is
built from files in the ./build folder, which is also the folder in
which the scripts tend to operate to set links or permissions, for
example.
Gbp-Dch: ignore
-
90c83fca
by Felix Lechner
at 2019-04-03T17:12:41Z
Fix test control-files-weird-files.
Adjusts this test to use the new and improved 'debs' skeleton. It
features a make-based builder that works with all tests. It no longer
uses t/bin/create-deb.
Control files are located in the ./DEBIAN folder. The mandatory
documentation files copyright and changelog are in the ./doc folder.
Extra data files are provided in the ./root folder. The package is
built from files in the ./build folder, which is also the folder in
which the scripts tend to operate to set links or permissions, for
example.
Gbp-Dch: ignore
-
5f33e4aa
by Felix Lechner
at 2019-04-03T17:12:41Z
Fix test copyright-file-foreign-package.
Adjusts this test to use the new and improved 'debs' skeleton. It
features a make-based builder that works with all tests. It no longer
uses t/bin/create-deb.
Control files are located in the ./DEBIAN folder. The mandatory
documentation files copyright and changelog are in the ./doc folder.
Extra data files are provided in the ./root folder. The package is
built from files in the ./build folder, which is also the folder in
which the scripts tend to operate to set links or permissions, for
example.
Gbp-Dch: ignore
-
cec0ab0b
by Felix Lechner
at 2019-04-03T17:12:41Z
Fix test deb-format-ancient-file.
Adjusts this test to use the new and improved 'debs' skeleton. It
features a make-based builder that works with all tests. It no longer
uses t/bin/create-deb.
Control files are located in the ./DEBIAN folder. The mandatory
documentation files copyright and changelog are in the ./doc folder.
Extra data files are provided in the ./root folder. The package is
built from files in the ./build folder, which is also the folder in
which the scripts tend to operate to set links or permissions, for
example.
Gbp-Dch: ignore
-
85f86ba6
by Felix Lechner
at 2019-04-03T17:12:41Z
Fix test deb-format-errors-tar.
Adjusts this test to use the new and improved 'debs' skeleton. It
features a make-based builder that works with all tests. It no longer
uses t/bin/create-deb.
Control files are located in the ./DEBIAN folder. The mandatory
documentation files copyright and changelog are in the ./doc folder.
Extra data files are provided in the ./root folder. The package is
built from files in the ./build folder, which is also the folder in
which the scripts tend to operate to set links or permissions, for
example.
Gbp-Dch: ignore
-
3cf01ede
by Felix Lechner
at 2019-04-03T17:12:41Z
Fix test deb-format-extra-member.
Adjusts this test to use the new and improved 'debs' skeleton. It
features a make-based builder that works with all tests. It no longer
uses t/bin/create-deb.
Control files are located in the ./DEBIAN folder. The mandatory
documentation files copyright and changelog are in the ./doc folder.
Extra data files are provided in the ./root folder. The package is
built from files in the ./build folder, which is also the folder in
which the scripts tend to operate to set links or permissions, for
example.
Gbp-Dch: ignore
-
78d4639f
by Felix Lechner
at 2019-04-03T17:12:41Z
Fix test deb-format-extra-underscore-member-before-control.
Adjusts this test to use the new and improved 'debs' skeleton. It
features a make-based builder that works with all tests. It no longer
uses t/bin/create-deb.
Control files are located in the ./DEBIAN folder. The mandatory
documentation files copyright and changelog are in the ./doc folder.
Extra data files are provided in the ./root folder. The package is
built from files in the ./build folder, which is also the folder in
which the scripts tend to operate to set links or permissions, for
example.
Gbp-Dch: ignore
-
04d5cce1
by Felix Lechner
at 2019-04-03T17:12:41Z
Fix test deb-format-extra-underscore-member-before-data.
Adjusts this test to use the new and improved 'debs' skeleton. It
features a make-based builder that works with all tests. It no longer
uses t/bin/create-deb.
Control files are located in the ./DEBIAN folder. The mandatory
documentation files copyright and changelog are in the ./doc folder.
Extra data files are provided in the ./root folder. The package is
built from files in the ./build folder, which is also the folder in
which the scripts tend to operate to set links or permissions, for
example.
Gbp-Dch: ignore
-
52604937
by Felix Lechner
at 2019-04-03T17:12:41Z
Fix test deb-format-lzma.
Adjusts this test to use the new and improved 'debs' skeleton. It
features a make-based builder that works with all tests. It no longer
uses t/bin/create-deb.
Control files are located in the ./DEBIAN folder. The mandatory
documentation files copyright and changelog are in the ./doc folder.
Extra data files are provided in the ./root folder. The package is
built from files in the ./build folder, which is also the folder in
which the scripts tend to operate to set links or permissions, for
example.
Gbp-Dch: ignore
-
17640e8a
by Felix Lechner
at 2019-04-03T17:12:41Z
Fix test deb-format-no-compress.
Adjusts this test to use the new and improved 'debs' skeleton. It
features a make-based builder that works with all tests. It no longer
uses t/bin/create-deb.
Control files are located in the ./DEBIAN folder. The mandatory
documentation files copyright and changelog are in the ./doc folder.
Extra data files are provided in the ./root folder. The package is
built from files in the ./build folder, which is also the folder in
which the scripts tend to operate to set links or permissions, for
example.
Gbp-Dch: ignore
-
6dc684e1
by Felix Lechner
at 2019-04-03T17:12:41Z
Fix test deb-format-record-size.
Adjusts this test to use the new and improved 'debs' skeleton. It
features a make-based builder that works with all tests. It no longer
uses t/bin/create-deb.
Control files are located in the ./DEBIAN folder. The mandatory
documentation files copyright and changelog are in the ./doc folder.
Extra data files are provided in the ./root folder. The package is
built from files in the ./build folder, which is also the folder in
which the scripts tend to operate to set links or permissions, for
example.
Gbp-Dch: ignore
-
7f51fdac
by Felix Lechner
at 2019-04-03T17:12:41Z
Fix test deb-format-wrong-order.
Adjusts this test to use the new and improved 'debs' skeleton. It
features a make-based builder that works with all tests. It no longer
uses t/bin/create-deb.
Control files are located in the ./DEBIAN folder. The mandatory
documentation files copyright and changelog are in the ./doc folder.
Extra data files are provided in the ./root folder. The package is
built from files in the ./build folder, which is also the folder in
which the scripts tend to operate to set links or permissions, for
example.
Gbp-Dch: ignore
-
5080ba80
by Felix Lechner
at 2019-04-03T17:12:41Z
Fix test description-synopsis-spaces.
Adjusts this test to use the new and improved 'debs' skeleton. It
features a make-based builder that works with all tests. It no longer
uses t/bin/create-deb.
Control files are located in the ./DEBIAN folder. The mandatory
documentation files copyright and changelog are in the ./doc folder.
Extra data files are provided in the ./root folder. The package is
built from files in the ./build folder, which is also the folder in
which the scripts tend to operate to set links or permissions, for
example.
Gbp-Dch: ignore
-
9a0ec47f
by Felix Lechner
at 2019-04-03T17:12:41Z
Fix test fields-general-bad.
Adjusts this test to use the new and improved 'debs' skeleton. It
features a make-based builder that works with all tests. It no longer
uses t/bin/create-deb.
Control files are located in the ./DEBIAN folder. The mandatory
documentation files copyright and changelog are in the ./doc folder.
Extra data files are provided in the ./root folder. The package is
built from files in the ./build folder, which is also the folder in
which the scripts tend to operate to set links or permissions, for
example.
Gbp-Dch: ignore
-
09523076
by Felix Lechner
at 2019-04-03T17:12:41Z
Fix test fields-general-missing.
Adjusts this test to use the new and improved 'debs' skeleton. It
features a make-based builder that works with all tests. It no longer
uses t/bin/create-deb.
Control files are located in the ./DEBIAN folder. The mandatory
documentation files copyright and changelog are in the ./doc folder.
Extra data files are provided in the ./root folder. The package is
built from files in the ./build folder, which is also the folder in
which the scripts tend to operate to set links or permissions, for
example.
Gbp-Dch: ignore
-
51f0f5f2
by Felix Lechner
at 2019-04-03T17:12:41Z
Fix test fields-malformed-source.
Adjusts this test to use the new and improved 'debs' skeleton. It
features a make-based builder that works with all tests. It no longer
uses t/bin/create-deb.
Control files are located in the ./DEBIAN folder. The mandatory
documentation files copyright and changelog are in the ./doc folder.
Extra data files are provided in the ./root folder. The package is
built from files in the ./build folder, which is also the folder in
which the scripts tend to operate to set links or permissions, for
example.
Gbp-Dch: ignore
-
ea662822
by Felix Lechner
at 2019-04-03T17:12:41Z
Fix test fields-multi-arch-illegal.
Adjusts this test to use the new and improved 'debs' skeleton. It
features a make-based builder that works with all tests. It no longer
uses t/bin/create-deb.
Control files are located in the ./DEBIAN folder. The mandatory
documentation files copyright and changelog are in the ./doc folder.
Extra data files are provided in the ./root folder. The package is
built from files in the ./build folder, which is also the folder in
which the scripts tend to operate to set links or permissions, for
example.
Gbp-Dch: ignore
-
d2184d91
by Felix Lechner
at 2019-04-03T17:12:41Z
Fix test fields-multi-arch-unknown.
Adjusts this test to use the new and improved 'debs' skeleton. It
features a make-based builder that works with all tests. It no longer
uses t/bin/create-deb.
Control files are located in the ./DEBIAN folder. The mandatory
documentation files copyright and changelog are in the ./doc folder.
Extra data files are provided in the ./root folder. The package is
built from files in the ./build folder, which is also the folder in
which the scripts tend to operate to set links or permissions, for
example.
Gbp-Dch: ignore
-
1b1b4b72
by Felix Lechner
at 2019-04-03T17:12:41Z
Fix test fields-obsolete-relation.
Adjusts this test to use the new and improved 'debs' skeleton. It
features a make-based builder that works with all tests. It no longer
uses t/bin/create-deb.
Control files are located in the ./DEBIAN folder. The mandatory
documentation files copyright and changelog are in the ./doc folder.
Extra data files are provided in the ./root folder. The package is
built from files in the ./build folder, which is also the folder in
which the scripts tend to operate to set links or permissions, for
example.
Gbp-Dch: ignore
-
f4492bf5
by Felix Lechner
at 2019-04-03T17:12:41Z
Fix test fields-wildcard-binary.
Adjusts this test to use the new and improved 'debs' skeleton. It
features a make-based builder that works with all tests. It no longer
uses t/bin/create-deb.
Control files are located in the ./DEBIAN folder. The mandatory
documentation files copyright and changelog are in the ./doc folder.
Extra data files are provided in the ./root folder. The package is
built from files in the ./build folder, which is also the folder in
which the scripts tend to operate to set links or permissions, for
example.
Gbp-Dch: ignore
-
8fc863d7
by Felix Lechner
at 2019-04-03T17:12:41Z
Fix test files-missing-intermediate-dirs.
Adjusts this test to use the new and improved 'debs' skeleton. It
features a make-based builder that works with all tests. It no longer
uses t/bin/create-deb.
Control files are located in the ./DEBIAN folder. The mandatory
documentation files copyright and changelog are in the ./doc folder.
Extra data files are provided in the ./root folder. The package is
built from files in the ./build folder, which is also the folder in
which the scripts tend to operate to set links or permissions, for
example.
Gbp-Dch: ignore
-
045509de
by Felix Lechner
at 2019-04-03T17:12:41Z
Fix test files-mtime.
Adjusts this test to use the new and improved 'debs' skeleton. It
features a make-based builder that works with all tests. It no longer
uses t/bin/create-deb.
Control files are located in the ./DEBIAN folder. The mandatory
documentation files copyright and changelog are in the ./doc folder.
Extra data files are provided in the ./root folder. The package is
built from files in the ./build folder, which is also the folder in
which the scripts tend to operate to set links or permissions, for
example.
Gbp-Dch: ignore
-
3b9976e6
by Felix Lechner
at 2019-04-03T17:12:41Z
Fix test md5sums-traversal.
Adjusts this test to use the new and improved 'debs' skeleton. It
features a make-based builder that works with all tests. It no longer
uses t/bin/create-deb.
Control files are located in the ./DEBIAN folder. The mandatory
documentation files copyright and changelog are in the ./doc folder.
Extra data files are provided in the ./root folder. The package is
built from files in the ./build folder, which is also the folder in
which the scripts tend to operate to set links or permissions, for
example.
Gbp-Dch: ignore
-
d052cafd
by Felix Lechner
at 2019-04-03T17:12:41Z
Fix test unpack-numerical-owner.
Adjusts this test to use the new and improved 'debs' skeleton. It
features a make-based builder that works with all tests. It no longer
uses t/bin/create-deb.
Control files are located in the ./DEBIAN folder. The mandatory
documentation files copyright and changelog are in the ./doc folder.
Extra data files are provided in the ./root folder. The package is
built from files in the ./build folder, which is also the folder in
which the scripts tend to operate to set links or permissions, for
example.
Gbp-Dch: ignore
-
27ad4dc3
by Felix Lechner
at 2019-04-03T17:12:41Z
From the old suite debs, split up two tests for two checks each, and move them.
Two tests that were each associated with exactly two checks were
split. A copy was moved to each check. The following tests were
affected:
md5sums-traversal
unpack-numerical-owner
The fields for Test-Against were likewise split such that the tags
mentioned there belong only to the check with which that copy of the
test is associated.
Gbp-Dch: ignore
-
de99307f
by Felix Lechner
at 2019-04-03T17:12:41Z
From the old suite debs, move all tests related to a single check to that check.
Twenty-two tests that were associated with exactly one check were
moved to that check. The old suite 'debs' will eventually be fully
integrated into t/tags/checks. Those tests just follow a different
skeleton.
The old behavior get be obtained by selecting for the skeleton when
running tests. This is a sample command:
t/bin/runtests --_onlyrun_=skeleton:deb
The 'skeleton' selector was previously added to the test apparatus.
Gbp-Dch: ignore
-
9430a2a6
by Felix Lechner
at 2019-04-03T17:12:41Z
From the old suite debs, add test deb-format-record-size to check deb-format.
This test looks for false positives (i.e. emits no tags) but did not
specify a Test-Against. Based on the test name and the tar features
used, the test was associated with the check deb-format. A field Check
was added to the test specification.
The test was also moved to the appropriate folder.
Gbp-Dch: ignore
-
4e1618d0
by Felix Lechner
at 2019-04-03T17:12:42Z
From the old suite debs, add test description-synopsis-spaces to check description.
This test looks for false positives (i.e. emits no tags) but did not
specify a Test-Against. Based on the test name and the files in it,
the test was associated with the check 'description'. A field Check
was added to the test specification.
The test was also moved to the appropriate folder.
Gbp-Dch: ignore
-
a08f1f25
by Felix Lechner
at 2019-04-03T17:12:42Z
From the old suite debs, add test control-field-traversal-4 to check control-files.
This test looks for false positives (i.e. emits no tags) but did not
specify a Test-Against. Based on the test name and the files in it,
the test was associated with the check 'control-files'. A field Check
was added to the test specification.
The test was also moved to the appropriate folder.
The test may be misnamed (fields vs. files) and may be renamed in the
future.
Gbp-Dch: ignore
-
2cdb8d22
by Felix Lechner
at 2019-04-03T17:12:42Z
Remove README for the old suite 'debs'.
The organization of the test suite is still in flux. Documentation
will be provided when things are settled down. For now, please examine
the skeleton, the templates and the builder to see how the test is
build. You can also see all the files produced in ./debian/test-out/.
Gbp-Dch: ignore
-
d2f90f3e
by Felix Lechner
at 2019-04-03T17:12:42Z
From the old suite changes, move all tests related to a single check to that check.
Thirteen tests that were associated with exactly one check were moved
to that check. The old suite 'changes' will soon be fully integrated
into t/tags/checks. The other tests only use a different skeleton.
The old behavior get be obtained by selecting for the skeleton when
running tests. This is a sample command:
t/bin/runtests --_onlyrun_=skeleton:changes
The 'skeleton' selector was previously added to the test apparatus.
Gbp-Dch: ignore
-
87211d68
by Felix Lechner
at 2019-04-03T17:12:42Z
From the old suite 'changes', add test changes-directory-traversal to check changes-file.
This test looks for false positives (i.e. emits no tags) but did not
specify a Test-Against. Based on the test name and the files in it,
the test was associated with the check 'changes-file'. A field Check
was added to the test specification.
The test was also moved to the appropriate folder.
Gbp-Dch: ignore
-
757ecf2a
by Felix Lechner
at 2019-04-03T17:12:42Z
Remove README for the old suite 'changes'.
The organization of the test suite is still in flux. Documentation
will be provided when things are settled down. For now, please examine
the skeleton, the templates and the builder to see how the test is
build. You can also see all the files produced in ./debian/test-out/.
Gbp-Dch: ignore