
7 Mar
2014
7 Mar
'14
11:27 p.m.
On Sat, Mar 01, 2014 at 10:18:00PM -0700, Stephen Warren wrote:
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
Applied to u-boot/master, thanks!
--
Tom