Ross Williams
a803240941
pkgng: test autoremove=yes only on FreeBSD > 12
...
The CI test runner on FreeBSD 12.0 times out when
downloading large packages.
2021-10-12 01:52:30 +00:00
Ross Williams
4f18ef5ba6
pkgng: add test for autoremove=yes
...
Install package with known dependencies, then
remove it and ask autoremove to run.
2021-10-11 19:55:28 +00:00
Ross Williams
aa88d68ebc
pkgng: use YAML lists for multiple packages
...
I had been following the documentation examples, and
specifiying multiple packages on one line. The right way
to do it is with YAML list syntax.
2021-10-11 19:28:26 +00:00
Ross Williams
98ccc58ba0
pkgng: test state=latest for mixed install/upgrade
...
Test that a list of packages given, one not installed
and one installed but out-of-date are handled correctly.
2021-10-11 19:25:06 +00:00
Ross Williams
73eafc126f
pkgng: test install multiple packages
...
Multiple packages should install with a single
invocation of the `pkg` utility.
2021-10-11 18:14:38 +00:00
Ross Williams
8805f408d6
pkgng: refactor tests for task reuse
...
Several tests need to install an out-of-date package
to test whether upgrades occur successfully, so this
commit refactors out the generation of the test package.
Also, factor out things like the name and path of the
test package so that is more maintainable should the
target test package (currently `zsh`) ever need to
change.
2021-10-11 17:10:35 +00:00
Ross Williams
d075c83ff2
pkgng: move FreeBSD tasks to imported file
...
Refactoring tests for more reuse and easier
readability.
2021-10-11 16:24:08 +00:00