Mercurial > yaffs-ecoscentric
changeset 252:67ca7e10e918
More test clean ups
| author | charles |
|---|---|
| date | Mon, 12 Jan 2009 00:49:01 +0000 |
| parents | 8f7c77cf2c67 |
| children | ac67e3d7378b |
| files | direct/tests/Makefile direct/tests/run_fw_update_test.sh direct/yaffs_fileem.c direct/yaffs_fileem2k.c direct/ynorsim.c |
| diffstat | 5 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/direct/tests/Makefile +++ b/direct/tests/Makefile @@ -78,4 +78,4 @@ yaffs_test: $(SYMLINKS) $(YAFFSTESTOBJS) clean: - rm -f $(ALLOBJS) core + rm -f yaffs_test $(ALLOBJS) core $(YAFFSSYMLINKS) $(YAFFSDIRECTSYMLINKS)
--- a/direct/tests/run_fw_update_test.sh +++ b/direct/tests/run_fw_update_test.sh @@ -7,9 +7,9 @@ do seed=$RANDOM j=$(( $i % 10 )) rm seed*$j - echo $seed>seed$i + echo $seed>seed-for-run-$i rm data*$j - cp ynorsimdata data$i + cp emfile-nor data-for-run-$i echo "######### Run $i with seed $seed" ./yaffs_test -f -u -p -s$seed M18-1 done
--- a/direct/yaffs_fileem.c +++ b/direct/yaffs_fileem.c @@ -83,7 +83,7 @@ static int CheckInit(yaffs_Device *dev) filedisk.nBlocks = (SIZE_IN_MB * 1024 * 1024)/(16 * 1024); - filedisk.handle = open("emfile512-0", O_RDWR | O_CREAT, S_IREAD | S_IWRITE); + filedisk.handle = open("emfile-512-0", O_RDWR | O_CREAT, S_IREAD | S_IWRITE); if(filedisk.handle < 0) {
