Re: [PATCH 1/2] test: fix build for zsh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 31, 2023 at 10:16 PM Felipe Contreras
<felipe.contreras@xxxxxxxxx> wrote:
> zsh has the ability to emulate Bourne shell, which is closer to what our
> testing suite expect.

s/expect/expects/

> Using the POSIX_ARGZERO option makes $0 behave as POSIX seems to define:
> show the name of the command launched, as opposed to the zsh default:
> the path of the script.
>
> This enables many tests, but not all.
>
> We can run the tests with `zsh --emulate sh` which has more more
> compatibility, but doing `emulate sh` inside the script allows us to
> just use `zsh`, although it's not as compatible.

s/more more/more/

> Signed-off-by: Felipe Contreras <felipe.contreras@xxxxxxxxx>



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux