tests: eina_file: check if the fd is really 0 when we set close file to true
authorStefan Schmidt <stefan@osg.samsung.com>
Mon, 13 Feb 2017 13:20:17 +0000 (14:20 +0100)
committerStefan Schmidt <stefan@osg.samsung.com>
Mon, 13 Feb 2017 13:20:17 +0000 (14:20 +0100)
commit0daed02e8988f9669cd3da47724e82d6929b23b9
tree3f81084adcacf8aa08be7f9018cd9b730a22d49f
parentd853b0ba688254b5f4b0e47c233690f0116c8678
tests: eina_file: check if the fd is really 0 when we set close file to true

The return value from create_file_not_empty was saved but never checked if it
really is 0. Whcih should be the case if we call the function with file_close
true.
src/tests/eina/eina_test_file.c