Test tweaks
authorCharles Manning <cdhmanning@gmail.com>
Tue, 5 Aug 2014 21:27:34 +0000 (09:27 +1200)
committerCharles Manning <cdhmanning@gmail.com>
Tue, 5 Aug 2014 21:27:34 +0000 (09:27 +1200)
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
direct/test-framework/tests/manage_m18_test.sh
direct/test-framework/tests/manage_nand_test.sh
direct/test-framework/tests/manage_nor_test.sh
direct/test-framework/yaffs_nor_drv.c

index 17a41a3..ac69321 100755 (executable)
@@ -1,7 +1,5 @@
 #! /bin/sh
 
-set -x
-
 dir_id=-none
 [ -z $1 ] || dir_id=$1
 
@@ -24,5 +22,5 @@ echo "!!!!!!!!!!!"
 echo "Tests done"
 while true
 do
-sleep 10
+sleep 10000
 done
index 7944873..7c3b311 100755 (executable)
@@ -22,5 +22,5 @@ echo "!!!!!!!!!!!"
 echo "Tests done"
 while true
 do
-       sleep 10
+       sleep 10000
 done
index 60b78da..619a164 100755 (executable)
@@ -22,5 +22,5 @@ echo "!!!!!!!!!!!"
 echo "Tests done"
 while true
 do
-sleep 10
+sleep 10000
 done
index a510979..7ac108a 100644 (file)
@@ -328,6 +328,7 @@ struct yaffs_dev *yaffs_nor_install_drv(const char *name)
        param->start_block = 0; // Can use block 0
        param->end_block = BLOCKS_IN_DEVICE - 1; // Last block
        param->use_nand_ecc = 0; // use YAFFS's ECC
+       param->disable_soft_del = 1;
 
        drv->drv_write_chunk_fn = nor_drv_WriteChunkToNAND;
        drv->drv_read_chunk_fn = nor_drv_ReadChunkFromNAND;