[LTP] [PATCH 2/3] ade: fix the bug of ar01

liubo
2009-12-16T11:37:12Z

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