]> git.ipfire.org Git - thirdparty/systemd.git/commit
tests: drop calls to unsetenv SYSTEMD_MEMPOOL 19116/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 25 Mar 2021 11:19:18 +0000 (12:19 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 26 Mar 2021 14:54:58 +0000 (15:54 +0100)
commitbc52deda4b0e354949c0783afd5e9c6f2034b8b2
tree295f27ac3f3a38f1c970fe081b5ad88ab8a83b8a
parentf1a8a66c35fbfe70d4f425e68becd8c1d1313464
tests: drop calls to unsetenv SYSTEMD_MEMPOOL

Coverity was complaining that we don't check the return value, which we stopped
doing in 772e0a76f34914f6f81205e912e4744c6b23f704.

But it seems that we don't want those calls at all. The test was originally
added with the call in a6ee01caf3409ba9820e8824b9262fbac31a9f77, but I don't
see why we should override this. If the user wants to execute the test with
mempool disabled, we shouldn't ignore that.

Coverity CID#1444464, CID#1444466.
src/libsystemd/sd-device/test-sd-device-thread.c
src/libudev/test-udev-device-thread.c