aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRyan Moeller <[email protected]>2020-04-06 19:07:35 -0400
committerGitHub <[email protected]>2020-04-06 16:07:35 -0700
commit4a21ec056016bb5738721543af933a8eed2308fb (patch)
treefdd614cecd284de43e182f4c90f87ecae521bf1d /lib
parent5a42ef04fd390dc96fbbf31bc9f3d05695998211 (diff)
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. Reviewed-by: John Kennedy <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ryan Moeller <[email protected]> Closes #10170
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions