Mercurial > yaffs-ecoscentric-gpl
annotate packages/fs/yaffs/current/src/direct/tests/manage_nand_test.sh @ 425:dea4d7d250ad ecos
Move sources into packages/fs/yaffs/current/src/
| author | Ross Younger <wry@ecoscentric.com> |
|---|---|
| date | Fri, 14 May 2010 16:03:09 +0100 |
| parents | direct/tests/manage_nand_test.sh@1a06ffe55df9 |
| children |
| rev | line source |
|---|---|
|
394
bedc7047de18
Add more test scripts to automate running tests.
Charles Manning <cdhmanning@gmail.com>
parents:
diff
changeset
|
1 #! /bin/sh |
|
bedc7047de18
Add more test scripts to automate running tests.
Charles Manning <cdhmanning@gmail.com>
parents:
diff
changeset
|
2 |
|
bedc7047de18
Add more test scripts to automate running tests.
Charles Manning <cdhmanning@gmail.com>
parents:
diff
changeset
|
3 dir_id=-none |
|
bedc7047de18
Add more test scripts to automate running tests.
Charles Manning <cdhmanning@gmail.com>
parents:
diff
changeset
|
4 [ -z $1 ] || dir_id=$1 |
|
bedc7047de18
Add more test scripts to automate running tests.
Charles Manning <cdhmanning@gmail.com>
parents:
diff
changeset
|
5 |
| 397 | 6 STARTDIR=`pwd` |
| 7 RUNDIR=`pwd`/tmp/nand-$dir_id | |
|
394
bedc7047de18
Add more test scripts to automate running tests.
Charles Manning <cdhmanning@gmail.com>
parents:
diff
changeset
|
8 mkdir $RUNDIR |
|
bedc7047de18
Add more test scripts to automate running tests.
Charles Manning <cdhmanning@gmail.com>
parents:
diff
changeset
|
9 cd $RUNDIR |
| 397 | 10 cp $STARTDIR/*sh . |
| 11 ln -s $STARTDIR/yaffs_test yaffs_test | |
|
394
bedc7047de18
Add more test scripts to automate running tests.
Charles Manning <cdhmanning@gmail.com>
parents:
diff
changeset
|
12 |
|
bedc7047de18
Add more test scripts to automate running tests.
Charles Manning <cdhmanning@gmail.com>
parents:
diff
changeset
|
13 ./init_fw_update_test_nand.sh |
|
bedc7047de18
Add more test scripts to automate running tests.
Charles Manning <cdhmanning@gmail.com>
parents:
diff
changeset
|
14 ./run_fw_update_test_nand.sh |
|
bedc7047de18
Add more test scripts to automate running tests.
Charles Manning <cdhmanning@gmail.com>
parents:
diff
changeset
|
15 |
|
411
1a06ffe55df9
yaffs: Tweak test scripts
Charles Manning <cdhmanning@gmail.com>
parents:
397
diff
changeset
|
16 |
|
1a06ffe55df9
yaffs: Tweak test scripts
Charles Manning <cdhmanning@gmail.com>
parents:
397
diff
changeset
|
17 echo "!!!!!!!!!!!" |
|
1a06ffe55df9
yaffs: Tweak test scripts
Charles Manning <cdhmanning@gmail.com>
parents:
397
diff
changeset
|
18 echo "Tests done" |
|
1a06ffe55df9
yaffs: Tweak test scripts
Charles Manning <cdhmanning@gmail.com>
parents:
397
diff
changeset
|
19 while true |
|
1a06ffe55df9
yaffs: Tweak test scripts
Charles Manning <cdhmanning@gmail.com>
parents:
397
diff
changeset
|
20 do |
|
1a06ffe55df9
yaffs: Tweak test scripts
Charles Manning <cdhmanning@gmail.com>
parents:
397
diff
changeset
|
21 sleep 10 |
|
1a06ffe55df9
yaffs: Tweak test scripts
Charles Manning <cdhmanning@gmail.com>
parents:
397
diff
changeset
|
22 done |
