view direct/tests/manage_nor_test.sh @ 394:bedc7047de18

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
line wrap: on
line source

#! /bin/sh

dir_id=-none
[ -z $1 ] || dir_id=$1

RUNDIR=`pwd`/tmpnor$dir_id
mkdir $RUNDIR
sudo mount -t tmpfs none $RUNDIR
sudo chmod a+wr $RUNDIR
cd $RUNDIR
cp ../*sh .
ln -s ../yaffs_test yaffs_test

./init_fw_update_test_nor.sh
./run_fw_update_test_nor.sh