Simon McVittie
97502c57f0
Build-depend on procps, used to check for leaked processes
2016-06-12 09:45:52 -04:00
Simon McVittie
b75cc5f54a
Add patches to make sure the tests fail as soon as something goes wrong
2016-06-11 19:54:30 +01:00
Simon McVittie
01fe808189
Upload to unstable.
2016-06-08 21:05:03 +01:00
Simon McVittie
5e30fe4bb9
Remove ostree-grub2 and the boot-related parts of ostree
...
This leaves behind the library and the command-line tool, which are
also used by Flatpak. When we have documentation for how to use and test
OSTree deployments with a Debian derivative (see #824649 ), they should
be reinstated in an ostree-boot package (see #824650 ).
2016-06-08 21:04:59 +01:00
Simon McVittie
ee90e82492
Rename ostree-grub2 to ostree-boot. Move all initramfs and bootloader integration there. ( Closes : #824650 )
2016-06-08 11:58:46 +01:00
Simon McVittie
2c1dc4dac4
Add a patch to skip the test-parent test if /var/tmp doesn't support user xattrs, hopefully fixing FTBFS on x86-csail-02 buildd
2016-04-25 12:51:45 +01:00
Simon McVittie
a1bdb2d2b2
2016.5-1
2016-04-25 07:46:24 +01:00
Simon McVittie
9bb7e4f6d0
Standards-version: 3.9.8 (no changes needed)
2016-04-25 07:46:12 +01:00
Simon McVittie
8a3cd692ad
Mark patch as applied upstream
2016-04-25 07:33:46 +01:00
Simon McVittie
099acab9d7
Add a patch to put more information in the log if tests fail, in an attempt to debug a failure in test/pull-resume.sh which I can no longer reproduce
2016-04-17 09:59:23 +01:00
Simon McVittie
6aaf72e743
Work around #821235 to avoid undefined macro 'AQ' in some man pages
2016-04-17 09:40:21 +01:00
Simon McVittie
7d3139cd7a
Widen regex for killing stray gpg-agent processes
2016-04-16 23:07:31 +01:00
Simon McVittie
f4ceaed578
Update symbols file for 2016.5
2016-04-16 23:04:37 +01:00
Simon McVittie
952b9bb285
Build-depend on elfutils, for test-abi.sh
2016-04-16 22:37:01 +01:00
Simon McVittie
e9f6069e84
Drop patches from 2016.4, applied upstream
2016-04-16 22:30:33 +01:00
Simon McVittie
8500761c13
debian/rules: use Debian's grub2-mkconfig path
2016-04-16 22:25:30 +01:00
Simon McVittie
33bad6d00b
debian/copyright: update for 2016.5
2016-04-16 22:25:02 +01:00
Simon McVittie
b72c8f4b4a
New(er) upstream release
2016-04-16 22:24:26 +01:00
Simon McVittie
fa16aa8401
Merge tag 'upstream/2016.5' into debian/master
...
Upstream version 2016.5
2016-04-16 22:22:20 +01:00
Simon McVittie
a7b5654e44
Imported Upstream version 2016.5
2016-04-16 22:22:18 +01:00
Simon McVittie
03171dc0d9
Add yet more patches to make the installed-tests work
2016-04-01 06:59:13 +01:00
Simon McVittie
18e9169d7a
libtest.sh: only check whether $(pwd) is empty once
...
test-sysroot.js runs libtestExec() twice, one of which is after
creating non-hidden directories in $(pwd), so this check needs to be
skipped the second time.
Signed-off-by: Simon McVittie <smcv@debian.org >
Closes : #234
Approved by: cgwalters
2016-03-31 18:54:13 +00:00
Simon McVittie
9c4babf316
test-xattrs: sync how this is skipped with test-rofiles-fuse
...
If we touch test-xattrs before sourcing libtest.sh, we get:
test tmpdir=/tmp/test-tmp-ostree_test-xattrs.sh.test-HSEXEY is not
empty; run this test via `make check TESTS=`, not directly
Signed-off-by: Simon McVittie <smcv@debian.org >
Closes : #234
Approved by: cgwalters
2016-03-31 18:54:13 +00:00
Simon McVittie
839628b3fa
test-abi: use G_TEST_SRCDIR, G_TEST_BUILDDIR
...
There's no need to invent new variables for these.
Signed-off-by: Simon McVittie <smcv@debian.org >
Closes : #234
Approved by: cgwalters
2016-03-31 18:54:13 +00:00
Simon McVittie
efb86ba9d3
libtest.sh: use G_TEST_SRCDIR, G_TEST_BUILDDIR to find resources
...
This fixes the bug that in installed-tests that run testlib.sh under
"bash -c" (i.e. the C and JS tests), $(dirname $0) is "." and we can't do
the LD_PRELOAD correctly:
ERROR: ld.so: object './libreaddir-rand.so' from LD_PRELOAD cannot be
preloaded (cannot open shared object file): ignored.
Similarly, those tests can't copy gpghome correctly.
This also removes the confusing situation that SRCDIR in libtest.sh
(which is ${top_srcdir}/tests) does not mean the same thing as SRCDIR
in test-abi.sh (which is just ${top_srcdir}).
Signed-off-by: Simon McVittie <smcv@debian.org >
Closes : #234
Approved by: cgwalters
2016-03-31 18:54:13 +00:00
Simon McVittie
4c3a6272a5
debian/gbp.conf: disable numbered patches
2016-03-31 16:12:26 +01:00
Simon McVittie
3c5fbc0662
Add a patch to skip a test with non-GNU parallel more reliably
2016-03-31 16:10:15 +01:00
Simon McVittie
f428f329b2
Update patches, upstreamed
2016-03-31 16:09:35 +01:00
Simon McVittie
9dafc82024
Probe for GNU parallel more accurately
...
moreutils parallel isn't compatible with the command-line syntax
used here. Because it doesn't implement GNU-style --help and exits 1
when that option is given, this test was correctly skipped when
using moreutils parallel, but only by mistake.
moreutils parallel might conceivably gain --help and --version in
future, but hopefully nothing incompatible with GNU parallel is going
to gain a --gnu option.
Also use the --gnu option to force the new command-line semantics;
some versions optionally supported an incompatible command-line syntax
taken from moreutils parallel.
Signed-off-by: Simon McVittie <smcv@debian.org >
Closes : #232
Approved by: cgwalters
2016-03-31 14:22:06 +00:00
Simon McVittie
e1ce859368
Skip tests that run rofiles-fuse if /dev/fuse or /etc/mtab unavailable
...
Signed-off-by: Simon McVittie <smcv@debian.org >
Closes : #232
Approved by: cgwalters
2016-03-31 14:22:06 +00:00
Simon McVittie
d458399615
Force libreaddir-rand to be a shared library
...
If installed-tests are disabled, it would normally be a static
(convenience) library, which isn't something we can LD_PRELOAD.
Signed-off-by: Simon McVittie <smcv@debian.org >
Closes : #232
Approved by: cgwalters
2016-03-31 14:22:06 +00:00
Simon McVittie
1dd85513e5
tests/admin-test.sh: this is a bash script, not a POSIX sh script
...
The "function foo()" syntax is bash-specific, and Colin indicated in
PR #226 that he prefers to require bash rather than trying to support
every POSIX shell.
Signed-off-by: Simon McVittie <smcv@debian.org >
Closes : #232
Approved by: cgwalters
2016-03-31 14:22:06 +00:00
Simon McVittie
07aa8e1c76
Load g-i bindings from builddir during build-time testing
...
Previously, the build-time tests would only pass if the g-i bindings to
OSTree were already installed, with a reasonably similar version.
Signed-off-by: Simon McVittie <smcv@debian.org >
Closes : #232
Approved by: cgwalters
2016-03-31 14:22:06 +00:00
Simon McVittie
2b9032f016
.gitignore: update
...
Closes : #232
Approved by: cgwalters
2016-03-31 14:22:06 +00:00
Simon McVittie
b25ddd29ab
In tests that use gpg, terminate the gpg-agent after testing
...
Otherwise we leak those processes.
Signed-off-by: Simon McVittie <smcv@debian.org >
Closes : #232
Approved by: cgwalters
2016-03-31 14:22:06 +00:00
Simon McVittie
47fd5c74f1
tap-test: clean up temporary test directories as intended
...
The script created ./.testtmp but looked for ./.test, which isn't
going to work.
This means the various "ostree trivial-httpd --autoexit" processes
actually exit, because their web roots are cleaned up now.
Signed-off-by: Simon McVittie <smcv@debian.org >
Closes : #232
Approved by: cgwalters
2016-03-31 14:22:06 +00:00
Simon McVittie
f8bef792cb
Symlink libreaddir-rand.so into tests directory
...
This means it can be LD_PRELOADed during build-time testing.
Signed-off-by: Simon McVittie <smcv@debian.org >
Closes : #232
Approved by: cgwalters
2016-03-31 14:22:06 +00:00
Simon McVittie
3e3755c497
various tests: skip if temp directory lacks xattr support
...
Some autobuilder environments place the entire build chroot on tmpfs, so
even /var/tmp might not have this.
Signed-off-by: Simon McVittie <smcv@debian.org >
Closes : #232
Approved by: cgwalters
2016-03-31 14:22:06 +00:00
Simon McVittie
c276025466
test-xattrs: use TAP syntax to skip test
...
Signed-off-by: Simon McVittie <smcv@debian.org >
Closes : #232
Approved by: cgwalters
2016-03-31 14:22:06 +00:00
Simon McVittie
75bca9173e
Skip tests involving rofiles-fuse if unavailable
2016-03-31 13:44:58 +01:00
Simon McVittie
8d30b20a8b
Run dh_auto_test with VERBOSE=1, to get logs with older debhelper
2016-03-31 13:22:53 +01:00
Simon McVittie
d064f20bfc
Fix no-xattrs patch so it does the check after sourcing libtest.sh
...
Otherwise the creation of `test-xattrs` breaks the check for an empty
directory in libtest.sh, breaking installed-tests.
Signed-off-by: Simon McVittie <smcv@debian.org >
2016-03-31 11:08:20 +01:00
Simon McVittie
e059debbb6
Mark patches as forwarded
2016-03-31 10:40:12 +01:00
Simon McVittie
f7ca51a754
Add patch to mark admin-test as a bash script, not a POSIX sh script
2016-03-31 09:49:33 +01:00
Simon McVittie
85d1af2a65
debian/ostree-tests.lintian-overrides: override a couple of false positives
2016-03-31 09:41:00 +01:00
Simon McVittie
2e4ac65c4a
fixup symbols
2016-03-31 09:38:38 +01:00
Simon McVittie
e8723aca57
debian/rules, debian/ostree-tests.install: adjust for new installation directory for installed-tests
2016-03-31 09:24:00 +01:00
Simon McVittie
00272963ef
debian/rules: clean up stale gpg-agent processes after testing
2016-03-31 09:21:59 +01:00
Simon McVittie
bbac523213
debian/patches: add patches to get the build-time tests passing under sbuild
2016-03-31 09:02:34 +01:00
Simon McVittie
a15d353b49
debian/rules: warn if there are leftover daemon processes after testing
2016-03-31 08:52:22 +01:00
Simon McVittie
81df52da0e
debian/control: build-depend on attr, for the tests (only required if /var/tmp supports extended attributes)
2016-03-31 08:51:48 +01:00
Simon McVittie
b4646c7095
debian/copyright: update
2016-03-28 12:59:14 +01:00
Simon McVittie
8943fb61fb
Build-depend on libmount-dev
2016-03-28 12:53:16 +01:00
Simon McVittie
955d6fc6de
Fix ITP bug number in changelog (was #813308 , should have been #697477 )
2016-03-28 12:52:14 +01:00
Simon McVittie
45a6c109d9
packaging: fix bashism in dist-snapshot target
...
On Debian and its derivatives, /bin/sh is a lightweight POSIX shell
(currently dash) which does not support the bash {foo,bar} syntax.
Signed-off-by: Simon McVittie <smcv@debian.org >
Closes : #226
Approved by: cgwalters
2016-03-28 11:50:11 +00:00
Simon McVittie
580b672ec4
debian/libostree-1-1.symbols: update for new versioned symbols
2016-03-28 12:49:25 +01:00
Simon McVittie
1bd12183ee
Remove all patches, applied upstream
2016-03-28 12:46:03 +01:00
Simon McVittie
401e2c2faf
New upstream release
2016-03-28 12:43:47 +01:00
Simon McVittie
cce1f8bc52
Merge tag 'upstream/2016.4' into debian/master
...
Upstream version 2016.4
2016-03-28 12:33:21 +01:00
Simon McVittie
36b5deae48
Imported Upstream version 2016.4
2016-03-28 12:33:19 +01:00
Simon McVittie
c650515521
debian/gbp.conf: use DEP-14 branch names
2016-03-28 12:03:20 +01:00
Simon McVittie
3f6f2e2a2f
test-libarchive: fix underlinking
...
Signed-off-by: Simon McVittie <smcv@debian.org >
2016-03-21 13:03:06 -04:00
Simon McVittie
0a7e128782
Skip test_libarchive_ignore_device_file if we cannot write xattrs
...
The test tries to get a filesystem that supports xattrs by writing
to /var/tmp, but in some automated build environments the entire
build chroot is on a tmpfs.
Signed-off-by: Simon McVittie <smcv@debian.org >
2016-03-21 13:02:49 -04:00
Simon McVittie
35f412c86a
tests/admin-test.sh: add #!/bin/sh
...
This is executable and appears to be intended to be executed directly,
so it should have a #! line.
2016-03-21 13:02:25 -04:00
Simon McVittie
934241a5e0
2016.3-1
2016-03-19 17:56:32 +00:00
Simon McVittie
1137fffe6b
Add a missing #!/bin/sh to one test
2016-03-19 17:56:15 +00:00
Simon McVittie
fb4568be2e
Fix permissions of installed scripts, not the copy in debian/tmp
...
dh_fixperms runs after dh_install, so chmod on debian/tmp is not
effective.
2016-03-19 17:53:43 +00:00
Simon McVittie
75f85052e2
Stop dh_makeshlibs thinking that the LD_PRELOAD module libreaddir-rand.so (part of the tests) is meant to be a shared library
2016-03-19 17:33:52 +00:00
Simon McVittie
277fe5620f
Re-run wrap-and-sort -abst
2016-03-19 16:52:30 +00:00
Simon McVittie
f08529975b
ostree-tests: depend on fuse
2016-03-11 11:01:42 +00:00
Simon McVittie
8e4d9db568
Standards-Version: 3.9.7 (no changes)
2016-03-11 09:25:15 +00:00
Simon McVittie
226cb82694
Update symbols file
2016-03-11 09:24:53 +00:00
Simon McVittie
3623c14b77
Add patch to skip one build-time test if /var/tmp cannot support xattrs, for example if it is on tmpfs
2016-03-11 09:11:01 +00:00
Simon McVittie
934f62cb2a
Add patch to fix underlinking of test-archive
2016-03-11 09:10:26 +00:00
Simon McVittie
86898fcf32
Only build on Linux architectures; this package is specifically not portable
2016-03-11 08:19:46 +00:00
Simon McVittie
84ab214d08
New upstream release
2016-03-11 08:18:55 +00:00
Simon McVittie
56b6994e39
Merge tag 'upstream/2016.3'
...
Upstream version 2016.3
2016-03-11 08:08:06 +00:00
Simon McVittie
67e83bd769
Imported Upstream version 2016.3
2016-03-11 08:08:04 +00:00
Simon McVittie
b43fe10e02
debian/control: improve description based on v2016.3's README
2016-03-11 07:37:58 +00:00
Simon McVittie
a8ba90063f
Document the limited situations in which ostree-grub2 will work in practice
2016-02-16 09:45:36 +00:00
Simon McVittie
36f302040d
Close ITP bug
2016-02-16 08:19:22 +00:00
Simon McVittie
c8665054dd
debian/control: set Maintainer to the pkg-utopia team, with packaging in collab-maint git, and myself and Matthias Klumpp as uploaders
2016-02-16 08:19:21 +00:00
Simon McVittie
dd30d52774
Redirect libexecdir to /usr/lib (not /usr/lib/${multiarch}) since we don't need multiarch for anything that's installed there, fixing a broken symlink in ostree-grub2
2016-02-16 08:19:18 +00:00
Simon McVittie
2c94045b9d
ostree-grub2: recommend concrete GRUB packages instead of hard-depending on a transitional package
...
This is only a Recommends because you could be using some other
architecture's grub packages.
2016-01-29 18:31:07 +01:00
Simon McVittie
a10508d966
Adjust upstream version number to work around mis-versioned PPA packages
...
2016.1-1 is less than 2016.1-alexlarsson, but 2016.1+deb-1 is greater.
2016-01-29 11:45:38 +01:00
Simon McVittie
5222f5a7c9
Don't override dh_auto_clean to nothing
2016-01-29 11:42:05 +01:00
Simon McVittie
4470927dc1
Enable systemd helpers, but do not start the early-boot systemd services on installation
2016-01-29 11:42:05 +01:00
Simon McVittie
7eee7ce2fe
Add an ostree-tests package, and use it for autopkgtest
2016-01-29 11:42:05 +01:00
Simon McVittie
b63ecc385a
Add missing dependency on libglib2.0-dev
2016-01-29 11:42:05 +01:00
Simon McVittie
1f44841f22
Add a symbols file
2016-01-29 11:42:05 +01:00
Simon McVittie
4cd71f8f9d
Use dh_install --fail-missing to catch mistakes
2016-01-29 11:42:05 +01:00
Simon McVittie
91bb116275
debian/patches: remove all patches, no longer needed or applied
2016-01-29 11:42:05 +01:00
Simon McVittie
a0354c249d
Remove unnecessary uses of dh-exec
2016-01-29 11:42:05 +01:00
Simon McVittie
ff701fbafe
debian/control: change Section to admin
2016-01-29 11:42:05 +01:00
Simon McVittie
805c34d1fb
debian/control: remove redundant Section
2016-01-29 11:42:05 +01:00
Simon McVittie
d2a1bfa7fc
debian/control: move shared library to Section: libs
2016-01-29 11:42:05 +01:00
Simon McVittie
9e42d6c8e2
Normalize packaging via wrap-and-sort -abst
2016-01-29 11:42:05 +01:00
Simon McVittie
87eccfbda7
debian/control: set Maintainer to the pkg-utopia team
2016-01-29 11:42:05 +01:00
Simon McVittie
e47d0e0a83
debian/copyright: fill in all copyright holders and licenses
2016-01-29 11:42:04 +01:00
Simon McVittie
af2671ab1d
debian/.gitignore: add
2016-01-27 13:09:01 +01:00