Add the GMT offset in the rotated chunk path
[lttng-tools.git] / tests / regression / tools / rotation / rotate_utils.sh
index 1a78c174bdb8ef9d24111484c4d4ecf0fdf2481e..37ada94864338cccf4556b1c49eb644ddef65ef0 100644 (file)
@@ -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 ()
This page took 0.024469 seconds and 5 git commands to generate.