]> git.ipfire.org Git - thirdparty/systemd.git/commit
test-env-util: allow $PATH to be unset
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 12 Apr 2019 06:55:39 +0000 (08:55 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 12 Apr 2019 07:05:02 +0000 (09:05 +0200)
commit1890c538920f93c39636e6beebc1bf7d0a8bc0a6
tree3c0d48306580c335b624d61a17117fe2e49a4a29
parent03abeb0baf7fe97c98a98d745b75c7d33e2f632e
test-env-util: allow $PATH to be unset

Coverity was unhappy, because it doesn't know that $PATH is pretty much always
set. But let's not assume that in the test. CID #1400496.

$ (unset PATH; build/test-env-util)
[1]    31658 segmentation fault (core dumped)  ( unset PATH; build/test-env-util; )
src/test/test-env-util.c