[API/compareTest] Return result when files do not exist
authorYongjoo Ahn <yongjoo1.ahn@samsung.com>
Thu, 8 Oct 2020 07:09:26 +0000 (16:09 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Thu, 8 Oct 2020 08:22:52 +0000 (17:22 +0900)
commit2de8bd00b5ef926bad89495d661b23c12f146844
tree9d76614d1bfacf0613a432bbcaa2327f69fe2379
parentf7eb306d45d459a8e2bce4b8014b5f32163efd64
[API/compareTest] Return result when files do not exist

- When the file does not  exist, in BusyBox condition, the bufsize is null and results of `dd` are same error message. And unexpected PASS result follows.
- This patch prevents this unexpected behavior.

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
ssat-api.sh