Re: [PATCH v2] ftracetest: Convert exit -1 to exit $FAIL

From: Shuah Khan
Date: Tue Mar 31 2015 - 12:18:03 EST


On 03/30/2015 01:50 PM, Steven Rostedt wrote:
> On Mon, 30 Mar 2015 16:21:00 +1100
> Michael Ellerman <mpe@xxxxxxxxxxxxxx> wrote:
>
>> POSIX says that exit takes an unsigned integer between 0 and 255, so
>> using -1 doesn't work on POSIX shells.
>>
>> There is already a well-defined failure code, $FAIL (1), so use that.
>>
>> Signed-off-by: Michael Ellerman <mpe@xxxxxxxxxxxxxx>
>
> Acked-by: Steven Rostedt <rostedt@xxxxxxxxxxx>
>

Applied to linux-kselftest next for 4.1

thanks,
-- Shuah


--
Shuah Khan
Sr. Linux Kernel Developer
Open Source Innovation Group
Samsung Research America (Silicon Valley)
shuahkh@xxxxxxxxxxxxxxx | (970) 217-8978
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/