File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
branches/dist-snap/src/etc Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ refs/heads/try: c274a6888410ce3e357e014568b43310ed787d36
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
8
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
9
- refs/heads/dist-snap: c45870b85e9183a31ab0a0a8a3841977f5f2615f
9
+ refs/heads/dist-snap: 093757ca800bdfbc5b18205e80d055c0ab08202c
10
10
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
11
11
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
12
12
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
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