Skip to contentSkip to conversation

commands/ade/ar01: the touched timestamp of file01.in should be newer than current

PATCH Applied Li Wang 2 participants 2 messages Mar 10, 2015

lore
Share & tools
lore

Li Wang

author
#0 lore raw

PATCH v2 1/1 commands/ade/ar01: the touched timestamp of file01.in should be newer than current

* Upate the timestamp form stable to dynamic.

---
 testcases/commands/ade/ar/ar01 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
testcases/commands/ade/ar/ar01 +1 -1
index 32fef11..ad88582 100755
@@ -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`
Signature · 13 lines
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Applied
#1 lore raw

Applied, thanks!

Quoted 14 lines · Li Wang

* Upate the timestamp form stable to dynamic.

---
 testcases/commands/ade/ar/ar01 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
testcases/commands/ade/ar/ar01 +0 -0
index 32fef11..ad88582 100755

testcases/commands/ade/ar/ar01 do · line 489

Quoted 8 lines
testcases/commands/ade/ar/ar01 +1 -1
@@ -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`

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list