public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH v2] commands/ade/ar01: the touched timestamp of file01.in should be newer than current
@ 2015-03-10  7:31 Li Wang
  2015-03-10  7:39 ` Wanlong Gao
  0 siblings, 1 reply; 2+ messages in thread
From: Li Wang @ 2015-03-10  7:31 UTC (permalink / raw)
  To: ltp-list

* Upate the timestamp form stable to dynamic.

Signed-off-by: Li Wang <liwang@redhat.com>
Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.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..ad88582 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 $(date --date='next day' +"%Y%m%d%H%M") 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

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

end of thread, other threads:[~2015-03-10  7:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-10  7:31 [LTP] [PATCH v2] commands/ade/ar01: the touched timestamp of file01.in should be newer than current Li Wang
2015-03-10  7:39 ` Wanlong Gao

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