[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] iotests: Drop use of bash keyword 'function'
From: |
Daniel P . Berrangé |
Subject: |
Re: [Qemu-devel] [PATCH] iotests: Drop use of bash keyword 'function' |
Date: |
Mon, 19 Nov 2018 10:43:16 +0000 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
On Fri, Nov 16, 2018 at 03:50:02PM -0600, Eric Blake wrote:
> 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 <address@hidden>
> ---
Reviewed-by: Daniel P. Berrangé <address@hidden>
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|