From 987ab4559a091ae7ba6d06817fd9d824b127cb92 Mon Sep 17 00:00:00 2001 From: charles Date: Tue, 11 Nov 2008 20:43:10 +0000 Subject: [PATCH] Add nor stress test script --- direct/run_fw_update_test.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 direct/run_fw_update_test.sh diff --git a/direct/run_fw_update_test.sh b/direct/run_fw_update_test.sh new file mode 100755 index 0000000..b08fa84 --- /dev/null +++ b/direct/run_fw_update_test.sh @@ -0,0 +1,12 @@ +#!/bin/bash + + +for ((i=0; i < 100000; i++)) +do + echo $i > cycle.count + j=$(( $i % 10 )) + + rm data*$j + cp ynorsimdata data$i + ./yaffs_test /M18-1 fw_update +done -- 2.30.2