Hi!
> When making with -m32 in x86_64 kernel, the cases will fail.
> Please refer to the following log.
> 
> # ./set_thread_area01
> set_thread_area01    1  TFAIL  :  failed - errno = 22 : Invalid argument
> # ./set_thread_area02
> set_thread_area_02    1  TFAIL  :  call get_thread_area() failed: 
> TEST_ERRNO=EINVAL(22): Invalid argument
> 
> Signed-off-by: Peng Haitao <[email protected]>

Thanks for pointing this out, however I have even better solution. If we
change the test to do set_thread_area() with entry_number -1, we would
get correct entry_number set by the syscall. I'll commit a patch for
this in a minute. Please test the change once it gets into git.

-- 
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to