[PATCH blktests 12/15] nvme: remove "local -n" from _get_nvmet_ports()

Daniel Wagner dwagner at suse.de
Fri Oct 25 07:56:33 PDT 2024


On Thu, Oct 24, 2024 at 10:00:22AM GMT, Shin'ichiro Kawasaki wrote:
> The -n option of the bash local variable declaration means that the
> variable is used as nameref. However, this nameref feature was
> introduced to bash at its version 4.3. On the other hand, blktests
> requires bash version 4.2. To not rely on the bash version 4.3, replace
> the nameref feature with the "read -ra" command to parse arguments.

I'd rather update the min requirement here. bash 4.3 was released 10
years ago.



More information about the Linux-nvme mailing list