public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH 2/3] ade: fix the bug of ar01
@ 2009-12-16 11:37 liubo
  2009-12-17  1:46 ` Caspar Zhang
  0 siblings, 1 reply; 9+ messages in thread
From: liubo @ 2009-12-16 11:37 UTC (permalink / raw)
  To: ltp-list

Command "ar -tv" 's output doesn't match with "ls -ln" 's output on item
"permission".

s/-$permissions/-$permissions./

This patch fixed the bug.

Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com>

---
 testcases/commands/ade/ar/ar01 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/testcases/commands/ade/ar/ar01 b/testcases/commands/ade/ar/ar01
index c8f85eb..c393959 100755
--- a/testcases/commands/ade/ar/ar01
+++ b/testcases/commands/ade/ar/ar01
@@ -584,7 +584,7 @@ ar -tv $TCtmp/lib.a |
 while
 read permissions uid size month day time year file_name
 do
-echo "-$permissions;$uid;$size;$month;$day;$time;$file_name"
+echo "-$permissions.;$uid;$size;$month;$day;$time;$file_name"
 done >> $TCtmp/lib.a.stdout
 ttest
 
-- 
1.6.2.2






------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [LTP] [PATCH 2/3] ade: fix the bug of ar01
  2009-12-16 11:37 liubo
@ 2009-12-17  1:46 ` Caspar Zhang
  2009-12-17  2:57   ` Garrett Cooper
  0 siblings, 1 reply; 9+ messages in thread
From: Caspar Zhang @ 2009-12-17  1:46 UTC (permalink / raw)
  To: liubo; +Cc: ltp-list


----- "liubo" <liubo2009@cn.fujitsu.com> wrote:

> Command "ar -tv" 's output doesn't match with "ls -ln" 's output on
> item
> "permission".
> 
> s/-$permissions/-$permissions./

This strange dot only appears in RHEL6, I don't see this dot in other
distros or releases.

Thanks,
Caspar

> 
> This patch fixed the bug.
> 
> Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com>
> 
> ---
>  testcases/commands/ade/ar/ar01 |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/testcases/commands/ade/ar/ar01
> b/testcases/commands/ade/ar/ar01
> index c8f85eb..c393959 100755
> --- a/testcases/commands/ade/ar/ar01
> +++ b/testcases/commands/ade/ar/ar01
> @@ -584,7 +584,7 @@ ar -tv $TCtmp/lib.a |
>  while
>  read permissions uid size month day time year file_name
>  do
> -echo "-$permissions;$uid;$size;$month;$day;$time;$file_name"
> +echo "-$permissions.;$uid;$size;$month;$day;$time;$file_name"
>  done >> $TCtmp/lib.a.stdout
>  ttest
>  
> -- 
> 1.6.2.2
> 
> 
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast
> and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev 
> _______________________________________________
> Ltp-list mailing list
> Ltp-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ltp-list

-- 
/-------------------------------------------\
| Name: Caspar Zhang                        |
| Position: Kernel Qualification Engineer   |
| IRC: czhang on #kernel-qe, #eng-china     |
| Phone: +86-10-6260-8150                   |
| Cellphone: +86-1381-073-0090              |
\-------------------------------------------/


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [LTP] [PATCH 2/3] ade: fix the bug of ar01
  2009-12-17  1:46 ` Caspar Zhang
@ 2009-12-17  2:57   ` Garrett Cooper
  2009-12-18 11:27     ` liubo
  0 siblings, 1 reply; 9+ messages in thread
From: Garrett Cooper @ 2009-12-17  2:57 UTC (permalink / raw)
  To: Caspar Zhang; +Cc: ltp-list

On Wed, Dec 16, 2009 at 5:46 PM, Caspar Zhang <czhang@redhat.com> wrote:
>
> ----- "liubo" <liubo2009@cn.fujitsu.com> wrote:
>
>> Command "ar -tv" 's output doesn't match with "ls -ln" 's output on
>> item
>> "permission".
>>
>> s/-$permissions/-$permissions./
>
> This strange dot only appears in RHEL6, I don't see this dot in other
> distros or releases.

Is this perhaps because of a version upgrade?
Thanks,
-Garrett

>>
>> This patch fixed the bug.
>>
>> Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com>
>>
>> ---
>>  testcases/commands/ade/ar/ar01 |    2 +-
>>  1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/testcases/commands/ade/ar/ar01
>> b/testcases/commands/ade/ar/ar01
>> index c8f85eb..c393959 100755
>> --- a/testcases/commands/ade/ar/ar01
>> +++ b/testcases/commands/ade/ar/ar01
>> @@ -584,7 +584,7 @@ ar -tv $TCtmp/lib.a |
>>  while
>>  read permissions uid size month day time year file_name
>>  do
>> -echo "-$permissions;$uid;$size;$month;$day;$time;$file_name"
>> +echo "-$permissions.;$uid;$size;$month;$day;$time;$file_name"
>>  done >> $TCtmp/lib.a.stdout
>>  ttest
>>
>> --
>> 1.6.2.2
>>
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Verizon Developer Community
>> Take advantage of Verizon's best-in-class app development support
>> A streamlined, 14 day to market process makes app distribution fast
>> and easy
>> Join now and get one step closer to millions of Verizon customers
>> http://p.sf.net/sfu/verizon-dev2dev
>> _______________________________________________
>> Ltp-list mailing list
>> Ltp-list@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/ltp-list
>
> --
> /-------------------------------------------\
> | Name: Caspar Zhang                        |
> | Position: Kernel Qualification Engineer   |
> | IRC: czhang on #kernel-qe, #eng-china     |
> | Phone: +86-10-6260-8150                   |
> | Cellphone: +86-1381-073-0090              |
> \-------------------------------------------/
>
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> Ltp-list mailing list
> Ltp-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ltp-list
>

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [LTP] [PATCH 2/3] ade: fix the bug of ar01
  2009-12-17  2:57   ` Garrett Cooper
@ 2009-12-18 11:27     ` liubo
  0 siblings, 0 replies; 9+ messages in thread
From: liubo @ 2009-12-18 11:27 UTC (permalink / raw)
  To: Garrett Cooper; +Cc: ltp-list


[-- Attachment #1.1: Type: text/plain, Size: 3038 bytes --]

On 12/17/2009 10:57 AM, Garrett Cooper wrote:
> On Wed, Dec 16, 2009 at 5:46 PM, Caspar Zhang <czhang@redhat.com> wrote:
>   
>> ----- "liubo" <liubo2009@cn.fujitsu.com> wrote:
>>
>>     
>>> Command "ar -tv" 's output doesn't match with "ls -ln" 's output on
>>> item
>>> "permission".
>>>
>>> s/-$permissions/-$permissions./
>>>       
>> This strange dot only appears in RHEL6, I don't see this dot in other
>> distros or releases.
>>     
>
> Is this perhaps because of a version upgrade?
> Thanks,
> -Garrett
>
>   

Yes, this problem does occur because of the version...
In binutils-2.19.51.0.2, the strange dot appears.
In binutils-2.17.50.0.18, the strange dot does not appear.
And these cause the dismatch.

Thanks,
Liu Bo

>>> This patch fixed the bug.
>>>
>>> Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com>
>>>
>>> ---
>>>  testcases/commands/ade/ar/ar01 |    2 +-
>>>  1 files changed, 1 insertions(+), 1 deletions(-)
>>>
>>> diff --git a/testcases/commands/ade/ar/ar01
>>> b/testcases/commands/ade/ar/ar01
>>> index c8f85eb..c393959 100755
>>> --- a/testcases/commands/ade/ar/ar01
>>> +++ b/testcases/commands/ade/ar/ar01
>>> @@ -584,7 +584,7 @@ ar -tv $TCtmp/lib.a |
>>>  while
>>>  read permissions uid size month day time year file_name
>>>  do
>>> -echo "-$permissions;$uid;$size;$month;$day;$time;$file_name"
>>> +echo "-$permissions.;$uid;$size;$month;$day;$time;$file_name"
>>>  done >> $TCtmp/lib.a.stdout
>>>  ttest
>>>
>>> --
>>> 1.6.2.2
>>>
>>>
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> This SF.Net email is sponsored by the Verizon Developer Community
>>> Take advantage of Verizon's best-in-class app development support
>>> A streamlined, 14 day to market process makes app distribution fast
>>> and easy
>>> Join now and get one step closer to millions of Verizon customers
>>> http://p.sf.net/sfu/verizon-dev2dev
>>> _______________________________________________
>>> Ltp-list mailing list
>>> Ltp-list@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/ltp-list
>>>       
>> --
>> /-------------------------------------------\
>> | Name: Caspar Zhang                        |
>> | Position: Kernel Qualification Engineer   |
>> | IRC: czhang on #kernel-qe, #eng-china     |
>> | Phone: +86-10-6260-8150                   |
>> | Cellphone: +86-1381-073-0090              |
>> \-------------------------------------------/
>>
>>
>> ------------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Verizon Developer Community
>> Take advantage of Verizon's best-in-class app development support
>> A streamlined, 14 day to market process makes app distribution fast and easy
>> Join now and get one step closer to millions of Verizon customers
>> http://p.sf.net/sfu/verizon-dev2dev
>> _______________________________________________
>> Ltp-list mailing list
>> Ltp-list@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/ltp-list
>>
>>     
>
>
>   


[-- Attachment #1.2: Type: text/html, Size: 4610 bytes --]

[-- Attachment #2: Type: text/plain, Size: 390 bytes --]

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 

[-- Attachment #3: Type: text/plain, Size: 155 bytes --]

_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [LTP] [PATCH 2/3] ade: fix the bug of ar01
       [not found] <1212262284.565301261136526909.JavaMail.root@zmail04.collab.prod.int.phx2.redhat.com>
@ 2009-12-18 11:42 ` Caspar Zhang
  2009-12-18 12:01   ` Caspar Zhang
  0 siblings, 1 reply; 9+ messages in thread
From: Caspar Zhang @ 2009-12-18 11:42 UTC (permalink / raw)
  To: liubo; +Cc: ltp-list


----- "liubo" <liubo2009@cn.fujitsu.com> wrote: 

> Yes, this problem does occur because of the version... 
> In binutils-2.19.51.0.2, the strange dot appears. 
> In binutils-2.17.50.0.18, the strange dot does not appear. 
> And these cause the dismatch. 
> 
> Thanks, 
> Liu Bo 
> 

My Fedora12 has binutils-2.19.51.0.14-34, I can't see this dot either.

-Caspar

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [LTP] [PATCH 2/3] ade: fix the bug of ar01
  2009-12-18 11:42 ` Caspar Zhang
@ 2009-12-18 12:01   ` Caspar Zhang
  2009-12-18 12:35     ` liubo
  0 siblings, 1 reply; 9+ messages in thread
From: Caspar Zhang @ 2009-12-18 12:01 UTC (permalink / raw)
  To: liubo; +Cc: ltp-list


----- "Caspar Zhang" <czhang@redhat.com> wrote:

> ----- "liubo" <liubo2009@cn.fujitsu.com> wrote: 
> 
> > Yes, this problem does occur because of the version... 
> > In binutils-2.19.51.0.2, the strange dot appears. 
> > In binutils-2.17.50.0.18, the strange dot does not appear. 
> > And these cause the dismatch. 
> > 
> > Thanks, 
> > Liu Bo 
> > 
> 
> My Fedora12 has binutils-2.19.51.0.14-34, I can't see this dot
> either.
> 
Tested in binutils-2.19.51.0.2-17.fc11, don't see this dot either 
:-(

-Caspar

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [LTP] [PATCH 2/3] ade: fix the bug of ar01
  2009-12-18 12:01   ` Caspar Zhang
@ 2009-12-18 12:35     ` liubo
  0 siblings, 0 replies; 9+ messages in thread
From: liubo @ 2009-12-18 12:35 UTC (permalink / raw)
  To: Caspar Zhang; +Cc: ltp-list


[-- Attachment #1.1: Type: text/plain, Size: 741 bytes --]

On 12/18/2009 08:01 PM, Caspar Zhang wrote:
> ----- "Caspar Zhang" <czhang@redhat.com> wrote:
>
>   
>> ----- "liubo" <liubo2009@cn.fujitsu.com> wrote: 
>>
>>     
>>> Yes, this problem does occur because of the version... 
>>> In binutils-2.19.51.0.2, the strange dot appears. 
>>> In binutils-2.17.50.0.18, the strange dot does not appear. 
>>> And these cause the dismatch. 
>>>
>>> Thanks, 
>>> Liu Bo 
>>>
>>>       
>> My Fedora12 has binutils-2.19.51.0.14-34, I can't see this dot
>> either.
>>
>>     
> Tested in binutils-2.19.51.0.2-17.fc11, don't see this dot either 
> :-(
>
> -Caspar
>
>
>   

  Are you using a 32bit box or not?
  I tested on a few 32bit boxes(Ubuntu Fedora), and I think it is the point.

  Thanks.
  Liu Bo


[-- Attachment #1.2: Type: text/html, Size: 1470 bytes --]

[-- Attachment #2: Type: text/plain, Size: 390 bytes --]

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 

[-- Attachment #3: Type: text/plain, Size: 155 bytes --]

_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [LTP] [PATCH 2/3] ade: fix the bug of ar01
       [not found] <1044568160.566731261140245405.JavaMail.root@zmail04.collab.prod.int.phx2.redhat.com>
@ 2009-12-18 12:44 ` Caspar Zhang
  2009-12-18 13:03   ` liubo
  0 siblings, 1 reply; 9+ messages in thread
From: Caspar Zhang @ 2009-12-18 12:44 UTC (permalink / raw)
  To: liubo; +Cc: ltp-list


----- "liubo" <liubo2009@cn.fujitsu.com> wrote: 

> Are you using a 32bit box or not? 
> I tested on a few 32bit boxes(Ubuntu Fedora), and I think it is the point. 
> 
> Thanks. 
> Liu Bo 
> 
> 
I tested in x86, x86_64, ppc64, s390x and ia64, all of them has a dot in RHEL6
also tested in x86 Fedora, no dot.

-Caspar 

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [LTP] [PATCH 2/3] ade: fix the bug of ar01
  2009-12-18 12:44 ` [LTP] [PATCH 2/3] ade: fix the bug of ar01 Caspar Zhang
@ 2009-12-18 13:03   ` liubo
  0 siblings, 0 replies; 9+ messages in thread
From: liubo @ 2009-12-18 13:03 UTC (permalink / raw)
  To: Caspar Zhang; +Cc: ltp-list


[-- Attachment #1.1: Type: text/plain, Size: 875 bytes --]

On 12/18/2009 08:44 PM, Caspar Zhang wrote:
> ----- "liubo" <liubo2009@cn.fujitsu.com> wrote: 
>
>   
>> Are you using a 32bit box or not? 
>> I tested on a few 32bit boxes(Ubuntu Fedora), and I think it is the point. 
>>
>> Thanks. 
>> Liu Bo 
>>
>>
>>     
> I tested in x86, x86_64, ppc64, s390x and ia64, all of them has a dot in RHEL6
> also tested in x86 Fedora, no dot.
>
> -Caspar 
>
>
>   
[---@localhost test]$ uname -a
Linux localhost.localdomain 2.6.29.4-167.fc11.x86_64 #1 SMP Wed May 27
17:27:08 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
[---@localhost test]$ ls -ln --time-style=+%b" "%e" "%H:%M file1.in
file2.in file3.in
-rw-rw-r--. 1 500 500 17 Dec 18 19:14 file1.in
-rw-rw-r--. 1 500 500 17 Dec 18 19:14 file2.in
-rw-rw-r--. 1 500 500 19 Dec 18 19:14 file3.in

  F11 do has the strange dot...I'll investigate it more if it's not my
box's problem.
 
  Liu Bo

[-- Attachment #1.2: Type: text/html, Size: 1473 bytes --]

[-- Attachment #2: Type: text/plain, Size: 390 bytes --]

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 

[-- Attachment #3: Type: text/plain, Size: 155 bytes --]

_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-12-18 14:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1044568160.566731261140245405.JavaMail.root@zmail04.collab.prod.int.phx2.redhat.com>
2009-12-18 12:44 ` [LTP] [PATCH 2/3] ade: fix the bug of ar01 Caspar Zhang
2009-12-18 13:03   ` liubo
     [not found] <1212262284.565301261136526909.JavaMail.root@zmail04.collab.prod.int.phx2.redhat.com>
2009-12-18 11:42 ` Caspar Zhang
2009-12-18 12:01   ` Caspar Zhang
2009-12-18 12:35     ` liubo
2009-12-16 11:37 liubo
2009-12-17  1:46 ` Caspar Zhang
2009-12-17  2:57   ` Garrett Cooper
2009-12-18 11:27     ` liubo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox