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 1
1
---
2
- refs/heads/master: c45870b85e9183a31ab0a0a8a3841977f5f2615f
2
+ refs/heads/master: 093757ca800bdfbc5b18205e80d055c0ab08202c
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: a6d3e57dca68fde4effdda3e4ae2887aa535fcd6
5
5
refs/heads/try: b160761e35efcd1207112b3b782c06633cf441a8
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