Re: [PATCH 4/5] t/t7006: ignore return status of shell's unset builtin
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Jun 2, 2010, 05:47 UTC
- Message-ID
- <20100602054737.GA9369@progeny.tock>
- In-Reply-To
- <Wt_M4qptcPdpY0Q3jqUbfMMZpuKZEHudj8tavRDS41LEhIuAY6Jac5ja0dD0ZRTTyKV_0v7MM6g@cipher.nrlssc.navy.mil>
Brandon Casey wrote:
> The unset builtin of Solaris's xpg4/sh returns non-zero if it is passed a > variable name which was not previously set.
This is historical ksh behavior (only changed in 2009-01-14) even if it violates SUSv2. It probably comes up on a lot of platforms. Thanks.
Acked-by: Jonathan Nieder <jrnieder@gmail.com>