view direct/tests/manage_nor_test.sh @ 411:1a06ffe55df9

yaffs: Tweak test scripts Minor change so that the script sleeps and does not just exit. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
author Charles Manning <cdhmanning@gmail.com>
date Tue, 27 Apr 2010 11:44:21 +1200
parents fab223fcc02c
children
line wrap: on
line source

#! /bin/sh

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

STARTDIR=`pwd`
RUNDIR=`pwd`/tmp/nor-$dir_id
mkdir $RUNDIR
cd $RUNDIR
cp $STARTDIR/*sh .
ln -s $STARTDIR/yaffs_test yaffs_test

./init_fw_update_test_nor.sh
./run_fw_update_test_nor.sh

echo "!!!!!!!!!!!"
echo "Tests done"
while true
do
sleep 10
done