• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • Projects
  • Repositories
    • View all public repositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Frank Willmore
  1. Frank Willmore

hdf5_der

Dana Robinson
hdf5_der
Public
Actions
  • Clone
  • Download

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Graphs
  • Branches
  • Network
  • Latest Activities

Commits

Mike McGreevy
fc38cc4d36a
Mike McGreevy committed 25486d5089508 Dec 2010
[svn-r19879] Purpose:

    Improve portability of flushrefresh test.

Description:

    The flush/refresh API test was hanging on linew because 
    Solaris's 'date' tool does not recognize the "+%s" option,
    which returns time since the epoch on other UNIXes.

    There doesn't seem to be a good way to unify the tools,
    however, Perl can be easily used for this function. I've
    modified configure to always check for the existence of
    Perl (previously it only did so if GNU compilers were being
    used), and the flush/refresh test script now uses perl to
    perform this timestamping functionality rather than date,
    by default. (if Perl is not detected by configure, the
    script will use date as it did prior to this modification).

    Fixed a few other compatibility issues w/ Solaris in passing:
    - fixed 'head' and 'tail' parameters to be more portable
    - avoid passing NULL to an fprintf call in flushrefresh.c

Tested:

    - Tested testflushrefresh.sh on jam, linew, heiwa, liberty, 
      duty, ember, and abe.

Changed files

  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v4.4.1
  • Documentation
  • Contact Support
  • Request a feature
  • About
  • Contact Atlassian
Atlassian