Mercurial > yaffs-ecoscentric-gpl
comparison direct/tests/manage_nand_test.sh @ 395:0e4492050172
Add more test scripts to automate running tests.
| author | Charles Manning <cdhmanning@gmail.com> |
|---|---|
| date | Thu, 25 Mar 2010 13:48:41 +1300 |
| parents | |
| children | fab223fcc02c |
comparison
equal
deleted
inserted
replaced
| 393:b5e0ebc1e8e5 | 395:0e4492050172 |
|---|---|
| 1 #! /bin/sh | |
| 2 | |
| 3 dir_id=-none | |
| 4 [ -z $1 ] || dir_id=$1 | |
| 5 | |
| 6 RUNDIR=`pwd`/tmpnand$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_nand.sh | |
| 15 ./run_fw_update_test_nand.sh | |
| 16 |
