Since the timestatp is older than now it cause this testcase
failed like this:
+ touch -c -t 201503030303.55 file0.in
+ ar -ru /tmp/ar01-28953/lib.a file0.in file2.in
...
FAIL - ar with -u flag failed

>From the AR(1) Manual pager, ar -u:
If you would like to insert only those of the files you list
that are newer than existing members of the same names, use
this modifier.

Signed-off-by: Li Wang <liw...@redhat.com>
---
 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 32fef11..c5181a3 100755
--- a/testcases/commands/ade/ar/ar01
+++ b/testcases/commands/ade/ar/ar01
@@ -483,7 +483,7 @@ do
        File2time=`ar -tv $TCtmp/lib.a | grep file2.in`
 
        #sleep 5
-       touch -c -t 201503030303.55 file0.in
+       touch -c -t 208503030303.55 file0.in
 
        ar -ru $TCtmp/lib.a file0.in file2.in 2>&1 1>/dev/null
        File1time1=`ar -tv $TCtmp/lib.a | grep file0.in`
-- 
1.8.3.1


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to