From 2853ab4a1306b2e0ffb8ca19dd406f000ee21b50 Mon Sep 17 00:00:00 2001 From: Jef Steelant Date: Thu, 20 Nov 2025 09:10:12 +0000 Subject: [PATCH] ci: cram: update 039-lcm_dustatechange.t Update the test to also test StartTime and CompleteTime of the event tests will fail starting January 2100 References: PCF-2121 Signed-off-by: Jef Steelant --- .gitlab/tests/cram/generic/lcm/039-lcm_dustatechange.t | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitlab/tests/cram/generic/lcm/039-lcm_dustatechange.t b/.gitlab/tests/cram/generic/lcm/039-lcm_dustatechange.t index e9a0011f1c..9de8e644a4 100644 --- a/.gitlab/tests/cram/generic/lcm/039-lcm_dustatechange.t +++ b/.gitlab/tests/cram/generic/lcm/039-lcm_dustatechange.t @@ -29,6 +29,7 @@ check the event $ R "cat /tmp/captured_event" Event DUStateChange! { + CompleteTime = "20\d{2}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{9}Z", (re) CurrentState = "Installed", DeploymentUnitRef = "Device.SoftwareModules.DeploymentUnit.[Alias == "cpe-917362a3-86e8-5332-bcfd-a4223f0e65e6"]", ExecutionUnitRefList = "Device.SoftwareModules.ExecutionUnit.[Alias == "cpe-917362a3-86e8-5332-bcfd-a4223f0e65e6"]", @@ -38,6 +39,7 @@ check the event }, OperationPerformed = "Install", Resolved = true, + StartTime = "20\d{2}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{9}Z", (re) UUID = "00000000-0000-5000-b000-000000000001", Version = "prplos-v1", path = "Device.SoftwareModules." @@ -56,6 +58,7 @@ check the event $ R "cat /tmp/captured_event" Event DUStateChange! { + CompleteTime = "20\d{2}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{9}Z", (re) CurrentState = "Installed", DeploymentUnitRef = "Device.SoftwareModules.DeploymentUnit.[Alias == "cpe-917362a3-86e8-5332-bcfd-a4223f0e65e6"]", ExecutionUnitRefList = "Device.SoftwareModules.ExecutionUnit.[Alias == "cpe-917362a3-86e8-5332-bcfd-a4223f0e65e6"]", @@ -65,6 +68,7 @@ check the event }, OperationPerformed = "Update", Resolved = true, + StartTime = "20\d{2}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{9}Z", (re) UUID = "00000000-0000-5000-b000-000000000001", Version = "prplos-v2", path = "Device.SoftwareModules." @@ -84,6 +88,7 @@ check the event $ R "cat /tmp/captured_event" Event DUStateChange! { + CompleteTime = "20\d{2}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{9}Z", (re) CurrentState = "Uninstalled", DeploymentUnitRef = "Device.SoftwareModules.DeploymentUnit.[Alias == "cpe-917362a3-86e8-5332-bcfd-a4223f0e65e6"]", ExecutionUnitRefList = "Device.SoftwareModules.ExecutionUnit.[Alias == "cpe-917362a3-86e8-5332-bcfd-a4223f0e65e6"]", @@ -93,6 +98,7 @@ check the event }, OperationPerformed = "Uninstall", Resolved = true, + StartTime = "20\d{2}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{9}Z", (re) UUID = "00000000-0000-5000-b000-000000000001", Version = "prplos-v2", path = "Device.SoftwareModules."