diff --git a/test/timemachine b/test/timemachine index 6e66126c..29044282 100755 --- a/test/timemachine +++ b/test/timemachine @@ -16,7 +16,7 @@ function random_minute() { case "${OSTYPE}" in darwin*) - echo "0$( jot -r 1 0 59 )" | sed "s|.\+\(..\)\$|\1|g" + echo "0$( jot -r 1 0 59 )" | sed -E "s|.+(..)|\1|g" ;; *) echo "0$( rand -M 60 )" | sed "s|.\+\(..\)\$|\1|g"