test: drop redundant 'function' keyword

This commit is contained in:
Frantisek Sumsal
2023-07-12 15:31:14 +02:00
parent f3139ecd08
commit 438fcfdf6c
2 changed files with 3 additions and 3 deletions

View File

@@ -34,7 +34,7 @@ fi
# Arguments:
# $1: test path
# $2: test exit code
function report_result() {
report_result() {
if [[ $# -ne 2 ]]; then
echo >&2 "check_result: missing arguments"
exit 1

View File

@@ -7,7 +7,7 @@ rm -f /test.log
TESTLOG=/test.log.XXXXXXXX
function wait_for()
wait_for()
{
local service="${1:-wait_for: missing service argument}"
local result="${2:-success}"
@@ -23,7 +23,7 @@ function wait_for()
fi
}
function wait_for_timeout()
wait_for_timeout()
{
local unit="$1"
local time="$2"