[PATCHv2 2/3] test: add streaming test to driver_data tester

2017-05-20 Thread yi1 . li
From: Yi Li This adds streaming test case, which pre-allocate the buffer and ask driver_data_request_sync API to read 4KB each. Since the dummy firmware image is very small, the test only stream couple bytes. A manual test method: echo -n 'bigfile' >

[PATCHv2 2/3] test: add streaming test to driver_data tester

2017-05-20 Thread yi1 . li
From: Yi Li This adds streaming test case, which pre-allocate the buffer and ask driver_data_request_sync API to read 4KB each. Since the dummy firmware image is very small, the test only stream couple bytes. A manual test method: echo -n 'bigfile' >