Fix file copying in scheme test 63/53963/2
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Mon, 7 Dec 2015 14:27:03 +0000 (15:27 +0100)
committerBartlomiej Grzelewski <b.grzelewski@samsung.com>
Thu, 10 Dec 2015 13:16:58 +0000 (14:16 +0100)
commitf7e9bce97c4c70b0dc54914c60731e2a21c40cd2
tree091ef9ec313bff35eb0b5e46f479095ca11fd575
parenta3a8530f487fb3bbd641f5ac8a505778c0db56ad
Fix file copying in scheme test

[Problem] Wrong creation flag was used. Wrong owner used. Files not closed.
[Solution] Change files owner and fix the flag. Close descriptors.

[Verification] Run ckm-tests-internal  -t ENCRYPTION_SCHEME_TEST

Change-Id: I9289f231fc27ff863552c65a1f76627189ed5bdb
tests/encryption-scheme/scheme-test.cpp