app/test: create files from resources
authorJan Viktorin <viktorin@rehivetech.com>
Mon, 13 Jun 2016 15:07:39 +0000 (17:07 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 13 Jun 2016 18:56:53 +0000 (20:56 +0200)
commit115cc1150d51550e1b469d41569716aa3f7abc36
tree7b6651c1b77496be38d16986e422d2c8d0dccb1a
parentab64f5df8004d7187613a542bf3df29de49f597f
app/test: create files from resources

A resource can be written into the target filesystem by calling
resource_fwrite or resource_fwrite_file. Such file can be created
before a test is started and removed after the test finishes.

Signed-off-by: Jan Viktorin <viktorin@rehivetech.com>
app/test/resource.c
app/test/resource.h
app/test/test_resource.c