* [LTP] [PATCH 2/3] nfs02: testcases/network/nfs/nfs02/nfs02 script - bug fixing
@ 2010-07-11 13:34 sumitbd
2010-07-11 14:20 ` Sumit Dhoot
0 siblings, 1 reply; 3+ messages in thread
From: sumitbd @ 2010-07-11 13:34 UTC (permalink / raw)
To: ltp-list
Hi,
Testcase "nfs02" fails with following message
"Test Failed: Removal of write permissions not honored on ascii.sm"
This is because ascii.sm has a rwx file permission for others when It
got installed. The script first tried to remove only write permission
for others and then it tests it with the r-- permission so test get
fails as it has r-x permission for others.
This is fixed with following patch.
Index: ltp-full-20100630/testcases/network/nfs/nfs02/nfs02
===================================================================
--- ltp-full-20100630.orig/testcases/network/nfs/nfs02/nfs02
+++ ltp-full-20100630/testcases/network/nfs/nfs02/nfs02
@@ -179,7 +179,7 @@ do_test3()
{
$trace_logic
echo "do_test3 $TC "
- chmod a-w $TCtmp/ascii.sm &
+ chmod a-wx $TCtmp/ascii.sm &
wait $!
ls -l $TCtmp/ascii.sm | grep "r--"
[ $? -eq 0 ] || end_testcase "Removal of write permissions not
honored on ascii.sm"
Thanks & Regards
Sumit Dhoot
System Administrator
Linsyssoft Technologies Pvt. Ltd.
sumitbd@linsyssoft.com
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [LTP] [PATCH 2/3] nfs02: testcases/network/nfs/nfs02/nfs02 script - bug fixing
2010-07-11 13:34 [LTP] [PATCH 2/3] nfs02: testcases/network/nfs/nfs02/nfs02 script - bug fixing sumitbd
@ 2010-07-11 14:20 ` Sumit Dhoot
2010-07-11 17:05 ` Garrett Cooper
0 siblings, 1 reply; 3+ messages in thread
From: Sumit Dhoot @ 2010-07-11 14:20 UTC (permalink / raw)
To: ltp-list
Hi All,
I failed to add "Signed-off-by". Apologies for this.
On Sun, Jul 11, 2010 at 7:04 PM, <sumitbd@linsyssoft.com> wrote:
>
> Hi,
>
> Testcase "nfs02" fails with following message
> "Test Failed: Removal of write permissions not honored on ascii.sm"
> This is because ascii.sm has a rwx file permission for others when It
> got installed. The script first tried to remove only write permission
> for others and then it tests it with the r-- permission so test get
> fails as it has r-x permission for others.
>
> This is fixed with following patch.
>
Signed-off-by: Sumit Dhoot <sumitbd@linsyssoft.com>
======
> Index: ltp-full-20100630/testcases/network/nfs/nfs02/nfs02
> ===================================================================
> --- ltp-full-20100630.orig/testcases/network/nfs/nfs02/nfs02
> +++ ltp-full-20100630/testcases/network/nfs/nfs02/nfs02
> @@ -179,7 +179,7 @@ do_test3()
> {
> $trace_logic
> echo "do_test3 $TC "
> - chmod a-w $TCtmp/ascii.sm &
> + chmod a-wx $TCtmp/ascii.sm &
> wait $!
> ls -l $TCtmp/ascii.sm | grep "r--"
> [ $? -eq 0 ] || end_testcase "Removal of write permissions not
> honored on ascii.sm"
>
>
======
> Thanks & Regards
> Sumit Dhoot
> System Administrator
> Linsyssoft Technologies Pvt. Ltd.
> sumitbd@linsyssoft.com
>
>
>
--
Thanks & Regards
Sumit Dhoot
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [LTP] [PATCH 2/3] nfs02: testcases/network/nfs/nfs02/nfs02 script - bug fixing
2010-07-11 14:20 ` Sumit Dhoot
@ 2010-07-11 17:05 ` Garrett Cooper
0 siblings, 0 replies; 3+ messages in thread
From: Garrett Cooper @ 2010-07-11 17:05 UTC (permalink / raw)
To: Sumit Dhoot; +Cc: ltp-list
On Sun, Jul 11, 2010 at 7:20 AM, Sumit Dhoot <sumitbd@linsyssoft.com> wrote:
> Hi All,
>
> I failed to add "Signed-off-by". Apologies for this.
>
> On Sun, Jul 11, 2010 at 7:04 PM, <sumitbd@linsyssoft.com> wrote:
>>
>> Hi,
>>
>> Testcase "nfs02" fails with following message
>> "Test Failed: Removal of write permissions not honored on ascii.sm"
>> This is because ascii.sm has a rwx file permission for others when It
>> got installed. The script first tried to remove only write permission
>> for others and then it tests it with the r-- permission so test get
>> fails as it has r-x permission for others.
>>
>> This is fixed with following patch.
>>
> Signed-off-by: Sumit Dhoot <sumitbd@linsyssoft.com>
>
> ======
>
>> Index: ltp-full-20100630/testcases/network/nfs/nfs02/nfs02
>> ===================================================================
>> --- ltp-full-20100630.orig/testcases/network/nfs/nfs02/nfs02
>> +++ ltp-full-20100630/testcases/network/nfs/nfs02/nfs02
>> @@ -179,7 +179,7 @@ do_test3()
>> {
>> $trace_logic
>> echo "do_test3 $TC "
>> - chmod a-w $TCtmp/ascii.sm &
>> + chmod a-wx $TCtmp/ascii.sm &
>> wait $!
>> ls -l $TCtmp/ascii.sm | grep "r--"
>> [ $? -eq 0 ] || end_testcase "Removal of write permissions not
>> honored on ascii.sm"
ACK.
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-07-11 17:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-11 13:34 [LTP] [PATCH 2/3] nfs02: testcases/network/nfs/nfs02/nfs02 script - bug fixing sumitbd
2010-07-11 14:20 ` Sumit Dhoot
2010-07-11 17:05 ` Garrett Cooper
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox