projects
/
yaffs2.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
yaffs direct: Expose background garbage collection
[yaffs2.git]
/
direct
/
test-framework
/
tests
/
manage_m18_test.sh
1
#! /bin/sh
2
3
set -x
4
5
dir_id=-none
6
[ -z $1 ] || dir_id=$1
7
8
9
iterations=100000
10
11
[ -z $2 ] || iterations=$2
12
13
STARTDIR=`pwd`
14
RUNDIR=`pwd`/tmp/m18-$dir_id
15
mkdir $RUNDIR
16
cd $RUNDIR
17
cp $STARTDIR/*sh .
18
ln -s $STARTDIR/yaffs_test yaffs_test
19
20
./init_fw_update_test_m18.sh
21
./run_fw_update_test_m18.sh $iterations
22
23
echo "!!!!!!!!!!!"
24
echo "Tests done"
25
while true
26
do
27
sleep 10
28
done