mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-14 23:12:51 +02:00
tests: Fix typo in common.bash (#2665)
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
This commit is contained in:
parent
2a590113fd
commit
b671329de5
1 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ function repeat_until_success_or_timeout {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! [[ "${1}" =~ ^[0-9]+$ ]]; then
|
if ! [[ "${1}" =~ ^[0-9]+$ ]]; then
|
||||||
echo "First parameter for timeout must be an integer, recieved \"${1}\""
|
echo "First parameter for timeout must be an integer, received \"${1}\""
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@ function repeat_until_success_or_timeout {
|
||||||
# @param ... test command to run
|
# @param ... test command to run
|
||||||
function run_until_success_or_timeout {
|
function run_until_success_or_timeout {
|
||||||
if ! [[ ${1} =~ ^[0-9]+$ ]]; then
|
if ! [[ ${1} =~ ^[0-9]+$ ]]; then
|
||||||
echo "First parameter for timeout must be an integer, recieved \"${1}\""
|
echo "First parameter for timeout must be an integer, received \"${1}\""
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue