u-boot-brain/arch/sandbox/cpu
Stephen Warren cfd13e8dda unit-test: make "test -e" test independent of $CWD
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>
2014-03-07 10:59:06 -05:00
..
cpu.c sandbox: Allow reading/writing of RAM buffer 2014-01-08 17:25:03 -07:00
Makefile kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
os.c unit-test: make "test -e" test independent of $CWD 2014-03-07 10:59:06 -05:00
start.c sandbox: Add facility to save/restore sandbox state 2014-01-08 17:25:08 -07:00
state.c sandbox: Add facility to save/restore sandbox state 2014-01-08 17:25:08 -07:00
u-boot.lds Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00