]> git.ipfire.org Git - thirdparty/systemd.git/commit
test: pass temporary allocated unit to config_parse_exec() 2306/head
authorWaLyong Cho <walyong.cho@samsung.com>
Tue, 12 Jan 2016 07:40:52 +0000 (16:40 +0900)
committerWaLyong Cho <walyong.cho@samsung.com>
Tue, 12 Jan 2016 08:42:23 +0000 (17:42 +0900)
commit139891f033fae1171295952497e3043586215cc9
tree3a83208e11c4027ec5aeaa0e1e5ec28ad583c641
parentcb48dfca6a8bc15d9081651001a16bf51e03838a
test: pass temporary allocated unit to config_parse_exec()

Now, config_parse_exec() use the userdata as unit and assert on NULL. So
allocate empty unit and use that on config_parse_exec().
src/test/test-unit-file.c