1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/bash
# Usage: rununittest.sh testname debuglevel
#
banner $1
# put megatest on path from correct location
mtbindir=$(readlink -f ../bin)
export PATH="${mtbindir}:$PATH"
# Clean setup
#
dbdir=$(echo /tmp/$USER/megatest_localdb/simplerun/.[a-zA-Z]*/)
echo "dbdir=$dbdir"
rm -f simplerun/megatest.db simplerun/monitor.db simplerun/db/monitor.db $dbdir
|
|
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/bash
# Usage: rununittest.sh testname debuglevel
#
banner $1
# put megatest on path from correct location
mtbindir=$(readlink -f ../bin)
export PATH="${mtbindir}:$PATH"
# Clean setup
#
dbdir=$(echo /tmp/$USER/megatest_localdb/simplerun/.[a-zA-Z]*/)
echo "dbdir=$dbdir"
rm -f simplerun/megatest.db simplerun/monitor.db simplerun/db/monitor.db $dbdir
|