On Sun, Jul 11, 2010 at 7:20 AM, Sumit Dhoot <[email protected]> wrote: > Hi All, > > I failed to add "Signed-off-by". Apologies for this. > > On Sun, Jul 11, 2010 at 7:04 PM, <[email protected]> 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 <[email protected]> > > ====== > >> 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 [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
