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
|
@ -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…
Reference in New Issue