mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-10 11:04:58 -06:00
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 <eblake@redhat.com> Message-Id: <20181116215002.2124581-1-eblake@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
This commit is contained in:
parent
bb39c47d70
commit
8cedcffdc1
35 changed files with 86 additions and 86 deletions
|
@ -45,7 +45,7 @@ size=128M
|
|||
|
||||
_make_test_img $size
|
||||
|
||||
function qemu_io_cmds()
|
||||
qemu_io_cmds()
|
||||
{
|
||||
cat <<EOF
|
||||
write -P 0x66 0 320k
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue