You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by ja...@apache.org on 2022/05/21 10:06:27 UTC

[ant] branch master updated: Use a fixed timezone in Tstamp test

This is an automated email from the ASF dual-hosted git repository.

jaikiran pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ant.git


The following commit(s) were added to refs/heads/master by this push:
     new 84a91794c Use a fixed timezone in Tstamp test
84a91794c is described below

commit 84a91794c9292ec926d0e2561f2b4a77145c02a7
Author: Jaikiran Pai <ja...@gmail.com>
AuthorDate: Sat May 21 15:35:11 2022 +0530

    Use a fixed timezone in Tstamp test
---
 src/tests/antunit/taskdefs/tstamp-test.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/tests/antunit/taskdefs/tstamp-test.xml b/src/tests/antunit/taskdefs/tstamp-test.xml
index 1553d32ee..434adf8d2 100644
--- a/src/tests/antunit/taskdefs/tstamp-test.xml
+++ b/src/tests/antunit/taskdefs/tstamp-test.xml
@@ -98,6 +98,7 @@ public class IsEpochIn1969Here implements Condition {
           failonerror="true"
           outputproperty="testout"
           fork="true">
+      <sysproperty key="user.timezone" value="GMT"/>
       <classpath>
         <pathelement location="${output}"/>
         <pathelement path="${java.class.path}"/>