From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sfi-mx-1.v28.ch3.sourceforge.com ([172.29.28.121] helo=mx.sourceforge.net) by 235xhf1.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1Mc9Xv-0002gw-I7 for ltp-list@lists.sourceforge.net; Sat, 15 Aug 2009 03:03:07 +0000 Received: from [59.151.112.132] (helo=heian.cn.fujitsu.com) by 29vjzd1.ch3.sourceforge.com with esmtp (Exim 4.69) id 1Mc9Xn-0002zJ-RY for ltp-list@lists.sourceforge.net; Sat, 15 Aug 2009 03:03:07 +0000 Message-ID: <4A861EA2.6070701@cn.fujitsu.com> Date: Sat, 15 Aug 2009 10:34:10 +0800 From: Wei Yongjun MIME-Version: 1.0 References: <4A850550.7080109@cn.fujitsu.com> In-Reply-To: Subject: Re: [LTP] utimes01 test case issue List-Id: Linux Test Project General Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-list-bounces@lists.sourceforge.net To: rohit verma Cc: ltp-list rohit verma wrote: > Hi Wang Yong, > > I am getting following O/P for case02 : > > As root user: > > utimes01 0 TINFO : (case02) START > EXPECT: return value(ret)=-1 errno=13 (Permission denied) > RESULT: return value(ret)=-1 errno=1 (Operation not permitted) > utimes01 0 TINFO : (case02) END => NG > > As non-root user: > utimes01 0 TINFO : (case02) START > seteuid failed. > utimes01 0 TINFO : (case02) END => OK > > Are you getting the same? > > > yes, the same result. > > On Fri, Aug 14, 2009 at 12:03 PM, Wei Yongjun wrote: > >> rohit verma wrote: >> >>> Hi Wang Yong, >>> >>> I have observed the following thing in case02 of the test case >>> utimes01 in latest ltp release. >>> >>> Expected error value is EACCES (In the code below) >>> But the actual error value is EPERM.I have checked this on 2.6.27 and >>> 2.6.29 kernel. >>> >>> >> You can try root user and noroot user, the return error is different. >> >> >>> static struct test_case tcase[] = { >>> >>> { // case00 >>> ... >>> }, >>> { // case01 >>> ... >>> }, >>> { // case02 >>> .ttype = NORMAL, >>> .a_sec = 1000, >>> .m_sec = 2000, >>> .user = "nobody", >>> .ret = -1, >>> .err = EACCES, // RHEL4U1 + 2.6.18 returns EPERM >>> }, >>> { // case03 >>> ... >>> }, >>> >>> { // case04 >>> ... >>> }, >>> }; >>> >>> Kindly confirm whether you are facing the same issue at your end. >>> >>> >>> >> >> > > > > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list