Fixed generation of log_sink file 33/33433/2
authorMateusz Malicki <m.malicki2@samsung.com>
Fri, 9 Jan 2015 11:34:12 +0000 (12:34 +0100)
committerMateusz Malicki <m.malicki2@samsung.com>
Fri, 9 Jan 2015 14:30:21 +0000 (15:30 +0100)
commit3035b39d565506bc70dce035cd4178e883b7f976
tree8f7fa9440dd52be331c7d9c42e60536d6931d2c5
parent94b00b1c12569f6efeb68b4e086198f2671bff95
Fixed generation of log_sink file

[Bug]i          log_sink file is invalid formated xml
[Cause]         Lxc invoke exit(0) after fork. Exit from child and
                from parent cause redundant log write
[Solution]      Add defintion to CMakeLists.txt
[Verification]  Build, install, build run test with '--log_sink=/tmp/log.xml',
                run 'xmllint --huge --format /tmp/log.xml' (there should
                be no parse errors).
                Note: StartHasStoppedTest can fail.

Change-Id: I9a1d4bee9030eb8e3958ff914ef7cf2dc1a953ce
CMakeLists.txt