Hi!
On 10/31/2014 04:39 PM, Han Pingtian wrote:
> Hey there,
>
> I found that looks like all chown test cases will be compiled to 16 bit
> compat test case, but they just call chown() something like
>
> TEST(chown(fname, uid, gid));
>
> which won't test if there is a 16 bit chown() syscall. I think maybe we
> should change it to something like below:
>
> TEST(CHOWN(fname, uid, guid));
>
> then define CHOWN like this
>
> UID_T CHOWN(void (cleanup)(void))
> {
> LTP_CREATE_SYSCALL(chown, cleanup);
> }
>
> ?
I think, this is a good idea.
And there are more such test cases, which are not fixed for the 16-bit
compat case. For example, setresuid.
So if it's possible, fixing them will be good as well;)
>
> Thanks in advance!
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Ltp-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ltp-list
>
------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list