Add more test scripts to automate running tests.
[yaffs2.git] / direct / tests / manage_nor_test.sh
1 #! /bin/sh
2
3 dir_id=-none
4 [ -z $1 ] || dir_id=$1
5
6 RUNDIR=`pwd`/tmpnor$dir_id
7 mkdir $RUNDIR
8 sudo mount -t tmpfs none $RUNDIR
9 sudo chmod a+wr $RUNDIR
10 cd $RUNDIR
11 cp ../*sh .
12 ln -s ../yaffs_test yaffs_test
13
14 ./init_fw_update_test_nor.sh
15 ./run_fw_update_test_nor.sh
16