Re: [LTP] [Patch v2] readlink03 test case fix

Michal Simek
2011-09-26T10:43:28Z

Nageswara R Sastry wrote:
> In readlink03 testcase,
> When 'Symlink Pathname is empty' the return value was 'ENOENT' but with
> newer kernels the return value is 'EINVAL'. The following patch will fix
> this.
>
> readlink03:
> Before patch:
> ...
> readlink03 9 TFAIL : readlink() failed, Symlink Pathname is empty,
> errno=22, expected errno=2
> ...
>
> After patch:
> ...
> readlink03 9 TPASS : readlink(), Symlink Pathname is empty,
> returned errno 22
> readlink03 10 TPASS : readlink(), Symlink Pathname is empty,
> returned errno 22
> ...
>
> Signed-off-by: Nageswara R Sastry <rnsastry@linux.vnet.ibm.com>

Please add it to mainline.

Tested-by: Michal Simek <michal.simek@petalogix.com>

Thanks,
Michal

--
Michal Simek, Ing. (M.Eng)
PetaLogix - Linux Solutions for a Reconfigurable World
w: www.petalogix.com p: +61-7-30090663,+42-0-721842854 f: +61-7-30090663

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.