From cd04da67cfa93b6cee577a807a0cf12aa92b3b2f Mon Sep 17 00:00:00 2001 From: charles Date: Wed, 10 Mar 2010 02:07:01 +0000 Subject: [PATCH] Clear obsolete files during simulation --- direct/tests/run_fw_update_test_nand.sh | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/direct/tests/run_fw_update_test_nand.sh b/direct/tests/run_fw_update_test_nand.sh index b8058bd..af92625 100755 --- a/direct/tests/run_fw_update_test_nand.sh +++ b/direct/tests/run_fw_update_test_nand.sh @@ -16,10 +16,19 @@ do seed=$RANDOM j=$(( $i % 10 )) - rm seed-nand-*$j + rm -f seed-nand-*$j echo $seed>seed-nand-for-run-$i - rm emfile-2k-0-*$j + + rm -f emfile-2k-0-*$j + rm -f emfile-2k-1-*$j + rm -f emfile-2k-2-*$j + rm -f emfile-2k-3-*$j + cp emfile-2k-0 emfile-2k-0-$i + cp emfile-2k-1 emfile-2k-1-$i + cp emfile-2k-2 emfile-2k-2-$i + cp emfile-2k-3 emfile-2k-3-$i + echo "#########" echo "#########" echo "#########" -- 2.30.2