The unit-test for hush's "test -e" currently relies upon being run in the U-Boot build directory, because it tests for the existence of a file that exists in that directory. Fix this by explicitly creating the file we use for the existence test, and deleting it afterwards so that multiple successive unit-test invocations succeed. This required adding an os.c function to erase files. Reported-by: Simon Glass <sjg@chromium.org> Signed-off-by: Stephen Warren <swarren@wwwdotorg.org> |
||
|---|---|---|
| .. | ||
| dm | ||
| image | ||
| trace | ||
| vboot | ||
| Makefile | ||
| command_ut.c | ||
| compression.c | ||