X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Frotation%2Frotate_utils.sh;h=37ada94864338cccf4556b1c49eb644ddef65ef0;hb=fc58be13f62e691645dd75d56ce26d2e121b13e0;hp=1a78c174bdb8ef9d24111484c4d4ecf0fdf2481e;hpb=e7716c6aec4c7152bd4cb060b805d8cb7051c121;p=lttng-tools.git diff --git a/tests/regression/tools/rotation/rotate_utils.sh b/tests/regression/tools/rotation/rotate_utils.sh index 1a78c174b..37ada9486 100644 --- a/tests/regression/tools/rotation/rotate_utils.sh +++ b/tests/regression/tools/rotation/rotate_utils.sh @@ -2,8 +2,8 @@ function set_chunk_pattern () { # Need to call this function after $today has been set. - # YYYYMMDD-HHMMSS-YYYYMMDD-HHMMSS - export chunk_pattern="${today}-[0-9][0-9][0-9][0-9][0-9][0-9]-${today}-[0-9][0-9][0-9][0-9][0-9][0-9]" + # YYYYMMDDTHHMMSS[+-]HHMM-YYYYMMDDTHHMMSS[+-]HHMM + export chunk_pattern="${today}T[0-9][0-9][0-9][0-9][0-9][0-9][+-][0-9][0-9][0-9][0-9]-${today}T[0-9][0-9][0-9][0-9][0-9][0-9][+-][0-9][0-9][0-9][0-9]" } function validate_test_chunks ()