File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 2
2
refs/heads/master: 0da105a8b7b6b1e0568e8ff20f6ff4b13cc7ecc2
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: a6d3e57dca68fde4effdda3e4ae2887aa535fcd6
5
- refs/heads/try: c45870b85e9183a31ab0a0a8a3841977f5f2615f
5
+ refs/heads/try: 093757ca800bdfbc5b18205e80d055c0ab08202c
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
8
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
Original file line number Diff line number Diff line change 5
5
# Sometimes android shell produce exitcode "1 : Text File Busy"
6
6
# Retry after $WAIT seconds, expecting resource cleaned-up
7
7
WAIT=10
8
- PATH=$1
9
- if [ -d " $PATH " ]
8
+ TEST_PATH=$1
9
+ BIN_PATH=/system/bin
10
+ if [ -d " $TEST_PATH " ]
10
11
then
11
12
shift
12
13
RUN=$1
17
18
18
19
L_RET=1
19
20
L_COUNT=0
20
- cd $PATH
21
+ cd $TEST_PATH
21
22
while [ $L_RET -eq 1 ]
22
23
do
23
- TEST_EXEC_ENV=22 LD_LIBRARY_PATH=$PATH $PATH /$RUN $@ 1> $PATH /$RUN .stdout 2> $PATH /$RUN .stderr
24
+ TEST_EXEC_ENV=22 LD_LIBRARY_PATH=$TEST_PATH PATH= $BIN_PATH : $TEST_PATH $TEST_PATH /$RUN $@ 1> $TEST_PATH /$RUN .stdout 2> $TEST_PATH /$RUN .stderr
24
25
L_RET=$?
25
26
if [ $L_COUNT -gt 0 ]
26
27
then
30
31
L_COUNT=$(( L_COUNT+ 1 ))
31
32
done
32
33
33
- echo $L_RET > $PATH /$RUN .exitcode
34
+ echo $L_RET > $TEST_PATH /$RUN .exitcode
34
35
35
36
fi
36
37
fi
You can’t perform that action at this time.
0 commit comments