rpm-ostree/tests/common
Jonathan Lebon b54b8744b9 tests/libvm: Handle transient service already existing
We would error out when trying to start the transient httpd service if
it already exists, e.g. from a previous test.

Depending on how we exit, the `vm_stop_httpd` trap for the previous test
might not have been able to kick in. I think this happens when we exit
using `fatal`, which just does an `exit 1`. It's not strictly an error,
so doesn't trip the `ERR` handler.

Let's just go the extra mile and explicitly delete transient services if
they already exist.

Closes: #1284
Approved by: cgwalters
2018-03-01 23:29:17 +00:00
..
libcomposetest.sh Fix "releasever" option, test it by default 2018-01-23 15:18:52 +00:00
libtest-core.sh tests/libtest-core: support multiple literal checks 2018-01-11 20:17:50 +00:00
libtest.c tests: add libtest.c for binary tests 2017-06-29 16:16:54 +00:00
libtest.h tests: add libtest.c for binary tests 2017-06-29 16:16:54 +00:00
libtest.sh Check and display pending security advisories 2018-02-15 15:30:26 +00:00
libvm.sh tests/libvm: Handle transient service already existing 2018-03-01 23:29:17 +00:00