Hi Jan, > > This kernel commit restored original behavior: > commit 1fa1e7f615f4d3ae436fa319af6e4eebdd4026a8 > Author: Andy Whitcroft <[email protected]> > Date: Wed Nov 2 09:44:39 2011 +0100 > readlinkat: ensure we return ENOENT for the empty pathname for > normal lookups > > For kernel >= 3.2, ENOENT should be expected errno code.
I had posted a patch long time ago, you can see here http://marc.info/?l=ltp-list&m=132063831228321&w=2 This is a kernel bug, and already fixed in 3.0 and 3.1 stable tree, so, just test the kernel version like this is not the best method. What do you think? Thanks, Wanlong Gao > > Signed-off-by: Jan Stancek <[email protected]> > --- > testcases/kernel/syscalls/readlink/readlink03.c | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > > > > ------------------------------------------------------------------------------ > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > > > > _______________________________________________ > Ltp-list mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ltp-list ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
