$ xterm -e "`pwd`/manage_nor_test.sh 3"&
...
+Then there's launch_tests.sh which sets up a tmpfs directory and launches 3
+nor simulations and 3 nand simulations.
+
--- /dev/null
+#! /bin/sh
+set -x
+LAUNCHDIR=`pwd`
+RUNDIR=`pwd`/tmp
+mkdir $RUNDIR
+sudo mount -t tmpfs none $RUNDIR
+sudo chmod a+wr $RUNDIR
+
+
+
+xterm -e "$LAUNCHDIR/manage_nor_test.sh 0"&
+xterm -e "$LAUNCHDIR/manage_nand_test.sh 0"&
+xterm -e "$LAUNCHDIR/manage_nor_test.sh 1"&
+xterm -e "$LAUNCHDIR/manage_nand_test.sh 1"&
+xterm -e "$LAUNCHDIR/manage_nor_test.sh 2"&
+xterm -e "$LAUNCHDIR/manage_nand_test.sh 2"&
dir_id=-none
[ -z $1 ] || dir_id=$1
-RUNDIR=`pwd`/tmpnand$dir_id
+STARTDIR=`pwd`
+RUNDIR=`pwd`/tmp/nand-$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
+cp $STARTDIR/*sh .
+ln -s $STARTDIR/yaffs_test yaffs_test
./init_fw_update_test_nand.sh
./run_fw_update_test_nand.sh
dir_id=-none
[ -z $1 ] || dir_id=$1
-RUNDIR=`pwd`/tmpnor$dir_id
+STARTDIR=`pwd`
+RUNDIR=`pwd`/tmp/nor-$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
+cp $STARTDIR/*sh .
+ln -s $STARTDIR/yaffs_test yaffs_test
./init_fw_update_test_nor.sh
./run_fw_update_test_nor.sh
while true; do
sleep 1
-tail -100 $the_log_file > trunc_data
+tail -500 $the_log_file > trunc_data
echo replot
done