u-boot/arch
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
..
arc kbuild: fix CROSS_COMPILE settings in config.mk 2014-03-04 12:15:30 -05:00
arm Merge branch 'master' of git://git.denx.de/u-boot-nand-flash 2014-03-04 21:23:42 -05:00
avr32 kbuild: fix CROSS_COMPILE settings in config.mk 2014-03-04 12:15:30 -05:00
blackfin kbuild: fix CROSS_COMPILE settings in config.mk 2014-03-04 12:15:30 -05:00
m68k kbuild: fix CROSS_COMPILE settings in config.mk 2014-03-04 12:15:30 -05:00
microblaze kbuild: fix CROSS_COMPILE settings in config.mk 2014-03-04 12:15:30 -05:00
mips Merge branch 'master' of git://git.denx.de/u-boot-mips 2014-03-04 18:13:06 -05:00
nds32 kbuild: fix CROSS_COMPILE settings in config.mk 2014-03-04 12:15:30 -05:00
nios2 kbuild: fix CROSS_COMPILE settings in config.mk 2014-03-04 12:15:30 -05:00
openrisc kbuild: fix CROSS_COMPILE settings in config.mk 2014-03-04 12:15:30 -05:00
powerpc kbuild: fix CROSS_COMPILE settings in config.mk 2014-03-04 12:15:30 -05:00
sandbox unit-test: make "test -e" test independent of $CWD 2014-03-07 10:59:06 -05:00
sh kbuild: fix CROSS_COMPILE settings in config.mk 2014-03-04 12:15:30 -05:00
sparc kbuild: fix CROSS_COMPILE settings in config.mk 2014-03-04 12:15:30 -05:00
x86 x86: Delete redundant compiler flags 2014-03-04 09:27:40 -05:00
.gitignore update include/asm/ gitignore after move 2010-05-07 00:17:30 +02:00