[ 
https://issues.apache.org/jira/browse/YETUS-422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15348494#comment-15348494
 ] 

Sean Busbey commented on YETUS-422:
-----------------------------------

{code}
+  # date '+%s' is supported on almost all
+  # relative new operating systems, but
+  # not everywhere.  perl or python
+  # are almost certainly installed though
+
{code}

Worth a note in our prereqs docs? just to note that we're going to need one of 
these to work on a given platform?

{code}
+      for methods in date perl python; do
+        TP_CTIME_HACK=${methods}
+        get_ctime >/dev/null 2>&1
+        if [[ $? = 0 ]]; then
+          get_ctime
+          break
+        fi
+      done
{code}

what happens if all of these fail?

> fixes needed to work on ASF Solaris infrastructure
> --------------------------------------------------
>
>                 Key: YETUS-422
>                 URL: https://issues.apache.org/jira/browse/YETUS-422
>             Project: Yetus
>          Issue Type: Bug
>          Components: Test Patch
>    Affects Versions: 0.4.0
>            Reporter: Allen Wittenauer
>            Assignee: Allen Wittenauer
>         Attachments: YETUS-422.00.patch
>
>
> The Solaris 10 machine in the ASF build infrastructure needs some minor fixes 
> to work.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to