On 11/21/2012 10:53 PM, [email protected] wrote: > Hi! >> When SELinux is enabled, "ls -ln" will list permissions with "-rw-r--r--.", >> but "ar -tv" will list permissions with "-rw-r--r--"???so the case 22 will >> fail. >> >> Signed-off-by: Peng Haitao <[email protected]> >> --- >> testcases/commands/ade/ar/ar01 | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/testcases/commands/ade/ar/ar01 b/testcases/commands/ade/ar/ar01 >> index 948c1fe..32fef11 100755 >> --- a/testcases/commands/ade/ar/ar01 >> +++ b/testcases/commands/ade/ar/ar01 >> @@ -536,7 +536,7 @@ do >> ls -ln --time-style=+%b" "%e" "%H:%M file1.in file2.in file3.in | >> while read permissions link uid gid size month day time file_name >> do >> - echo "$permissions;$uid/$gid;$size;$month;$day;$time;$file_name" >> + echo >> "${permissions%.};$uid/$gid;$size;$month;$day;$time;$file_name" >> done >> $TCtmp/lib.a.exp >> ar -tv $TCtmp/lib.a | > > Acked. > > However please include a short description of the solution to the commit > log as well. > > Something like "This patch removes the dot from the end of the > permission string if there was one." >
Applied with Cyril's Ack and the short comment. Thank you. Wanlong Gao ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
