]> Git Repo - qemu.git/commit - tests/qemu-iotests/227
iotests: Drop use of bash keyword 'function'
authorEric Blake <[email protected]>
Fri, 16 Nov 2018 21:50:02 +0000 (15:50 -0600)
committerEric Blake <[email protected]>
Mon, 19 Nov 2018 17:16:46 +0000 (11:16 -0600)
commit8cedcffdc195bc39aeb1373826ba0a45629741e0
tree46509d211d6dcf12f6d2923e9a37a1667177f762
parentbb39c47d70e84acf5066f79eba27ae5945b837be
iotests: Drop use of bash keyword 'function'

Bash allows functions to be declared with or without the leading
keyword 'function'; but including the keyword does not comply with
POSIX syntax, and is confusing to ksh users where the use of the
keyword changes the scoping rules for functions.  Stick to the
POSIX form through iotests.

Done mechanically with:
  sed -i 's/^function //' $(git ls-files tests/qemu-iotests)

Signed-off-by: Eric Blake <[email protected]>
Message-Id: <20181116215002.2124581[email protected]>
Reviewed-by: Daniel P. BerrangĂ© <[email protected]>
Reviewed-by: Philippe Mathieu-DaudĂ© <[email protected]>
35 files changed:
tests/qemu-iotests/035
tests/qemu-iotests/037
tests/qemu-iotests/038
tests/qemu-iotests/046
tests/qemu-iotests/047
tests/qemu-iotests/049
tests/qemu-iotests/051
tests/qemu-iotests/067
tests/qemu-iotests/071
tests/qemu-iotests/077
tests/qemu-iotests/081
tests/qemu-iotests/082
tests/qemu-iotests/085
tests/qemu-iotests/086
tests/qemu-iotests/087
tests/qemu-iotests/099
tests/qemu-iotests/109
tests/qemu-iotests/112
tests/qemu-iotests/142
tests/qemu-iotests/153
tests/qemu-iotests/157
tests/qemu-iotests/172
tests/qemu-iotests/176
tests/qemu-iotests/177
tests/qemu-iotests/184
tests/qemu-iotests/186
tests/qemu-iotests/195
tests/qemu-iotests/204
tests/qemu-iotests/223
tests/qemu-iotests/227
tests/qemu-iotests/232
tests/qemu-iotests/common.nbd
tests/qemu-iotests/common.pattern
tests/qemu-iotests/common.qemu
tests/qemu-iotests/common.tls
This page took 0.035221 seconds and 4 git commands to generate.