mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-22 07:45:09 +00:00
trying this instead
This commit is contained in:
parent
aa0b93dda9
commit
58824ca358
1 changed files with 9 additions and 8 deletions
17
test.sh
17
test.sh
|
|
@ -2,13 +2,14 @@
|
||||||
|
|
||||||
./dbench start > /tmp/bench.log &
|
./dbench start > /tmp/bench.log &
|
||||||
|
|
||||||
output=$(
|
while ! [[ $i == 20 ]]
|
||||||
while ! curl "http://localhost:8000"
|
do
|
||||||
do
|
output=$( curl "http://localhost:8000" )
|
||||||
{ echo "Exit status of curl: $?"
|
{ echo "Exit status of curl: $?"
|
||||||
} 1>&2
|
} 1>&2
|
||||||
sleep 1
|
sleep 2
|
||||||
done
|
i=$((i + 1))
|
||||||
)
|
done
|
||||||
|
|
||||||
|
|
||||||
echo "${output}" | grep '<title> Login </title>' || exit 1
|
echo "${output}" | grep '<title> Login </title>' || exit 1
|
||||||
Loading…
Reference in a new issue