diff options
Diffstat (limited to 'tests/run.sh')
-rw-r--r-- | tests/run.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/run.sh b/tests/run.sh index 8c1402d..115a036 100644 --- a/tests/run.sh +++ b/tests/run.sh @@ -410,6 +410,12 @@ make_xattrs() { esac } +# Get the Unix epoch time in seconds +epoch_time() { + # https://stackoverflow.com/a/12746260/502399 + awk 'BEGIN { srand(); print srand(); }' +} + ## Snapshot testing # Return value when a difference is detected |