Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3d140a7

Browse files
committed
Add limit to cycle.
1 parentbcd62e1 commit3d140a7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎sql/show.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,14 @@ if grep "RUNNING" ${TEST_BASE}/TEST-0002-show.out > /dev/null ; then
3838
else
3939
echo'NG: RUNNING status is not shown.'
4040
fi
41+
counter=0
4142
while [[`pg_arman show -B${BACKUP_PATH}`==*"RUNNING"* ]]
4243
do
44+
if [$counter-lt 30 ];then
45+
break
46+
fi
4347
sleep 2
48+
let counter=counter+1
4449
done
4550
echo''
4651

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp