commands/ade/ar01: the touched timestatp of file01.in should be newer than now
PATCH 1/1 commands/ade/ar01: the touched timestatp of file01.in should be newer than now
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.
--- testcases/commands/ade/ar/ar01 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
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 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`
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
Hi,
Quoted 22 lines · Li Wang
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.afile0.in file2.in
...
FAIL - ar with -u flag failedQuoted 1 line
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 <[email protected]>--- testcases/commands/ade/ar/ar01 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)testcases/commands/ade/ar/ar01 +0
-0
testcases/commands/ade/ar/ar01 do · line 486
Quoted 5 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 208503030303.55 file0.in
How about
touch -c -t $(date --date='next day' +"%Y%m%d%H%M") file0.in
Thanks,
Zeng
testcases/commands/ade/ar/ar01 do · line 489
Quoted 3 lines
testcases/commands/ade/ar/ar01 +0
-0ar -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
Hi,
----- Original Message -----
Quoted 28 lines
Hi,
Quoted 25 lines · Li Wang
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.afile0.in file2.in
...
FAIL - ar with -u flag failedQuoted 1 line
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 <[email protected]>--- testcases/commands/ade/ar/ar01 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)testcases/commands/ade/ar/ar01 +0
-0@@ -483,7 +483,7 @@ do File2time=`ar -tv $TCtmp/lib.a | grep file2.in`
Quoted 6 lines
testcases/commands/ade/ar/ar01 do · line 486
Quoted 3 lines
testcases/commands/ade/ar/ar01 +1
-1#sleep 5 - touch -c -t 201503030303.55 file0.in + touch -c -t 208503030303.55 file0.inHow about
touch -c -t $(date --date='next day' +"%Y%m%d%H%M") file0.in
Agree!
Absolutely it's better than the stable timestatp.
Li Wang
Quoted 10 lines
Thanks,
ZengQuoted 3 lines
testcases/commands/ade/ar/ar01 +0
-0ar -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
Quoted 30 lines · Li Wang
Hi,
----- Original Message -----Quoted 28 lines
Hi,
Quoted 25 lines · Li Wang
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.afile0.in file2.in
...
FAIL - ar with -u flag failedQuoted 1 line
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 <[email protected]>--- testcases/commands/ade/ar/ar01 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)testcases/commands/ade/ar/ar01 +0
-0@@ -483,7 +483,7 @@ do File2time=`ar -tv $TCtmp/lib.a | grep file2.in`
Quoted 8 lines
Quoted 6 lines
testcases/commands/ade/ar/ar01 do · line 486
Quoted 3 lines
testcases/commands/ade/ar/ar01 +1
-1#sleep 5 - touch -c -t 201503030303.55 file0.in + touch -c -t 208503030303.55 file0.inHow about
touch -c -t $(date --date='next day' +"%Y%m%d%H%M") file0.inAgree!
Absolutely it's better than the stable timestatp.
s/timestatp/timestamp/ in comment ?
------------------------------------------------------------------------------
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
Hi,
Quoted 37 lines · Wanlong Gao
Quoted 36 lines · Li Wang
Hi,
----- Original Message -----Quoted 34 lines
Hi,
Quoted 23 lines · Li Wang
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.afile0.in file2.in
...
FAIL - ar with -u flag failedQuoted 1 line
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 <[email protected]>--- testcases/commands/ade/ar/ar01 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)testcases/commands/ade/ar/ar01 +0
-0testcases/commands/ade/ar/ar01 do · line 486
Quoted 5 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 208503030303.55 file0.inHow about
touch -c -t $(date --date='next day' +"%Y%m%d%H%M") file0.in
Quoted 4 lines
Quoted 2 lines
Agree!
Absolutely it's better than the stable timestatp.s/timestatp/timestamp/ in comment ?
Yeah, timestamp! sorry for the typo.
Li Wang.
Quoted 3 lines
------------------------------------------------------------------------------
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