Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZTS: Fix non-portable date format #10170

Merged
merged 1 commit into from
Apr 6, 2020

Commits on Apr 2, 2020

  1. ZTS: Fix non-portable date format

    The delegate tests use `date(1)` to generate snapshot names, using
    the format '%F-%T-%N' to get nanosecond resolution (since multiple
    snapshots may be taken in the same second).  '%N' is not portable, and
    causes tests to fail on FreeBSD.
    
    Since the only purpose these timestamps serve is to create a unique
    name, simply use $RANDOM instead.
    
    Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
    Ryan Moeller authored and Ryan Moeller committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    7938d03 View commit details
    Browse the repository at this point in the history