From 68937e3c7e473c938c0a9c3d61af58d520fbae98 Mon Sep 17 00:00:00 2001 From: Sebastien GODARD Date: Sat, 12 Oct 2019 17:45:33 +0200 Subject: [PATCH] simtest: Update tests output to take into account timezone value Signed-off-by: Sebastien GODARD --- tests/expected.data-11.6.5-sadf-j | 1 + tests/expected.data-11.6.5-sadf-x | 7 ++++--- tests/expected.data-wghfreq-sadf-j | 1 + tests/expected.data-wghfreq-sadf-x | 7 ++++--- tests/expected.sadf-H | 1 + tests/expected.sadf-j | 1 + tests/expected.sadf-x | 7 ++++--- tests/expected0.sadf-x | 7 ++++--- tests/expected01.sadf-H | 1 + 9 files changed, 21 insertions(+), 12 deletions(-) diff --git a/tests/expected.data-11.6.5-sadf-j b/tests/expected.data-11.6.5-sadf-j index 1fe2cb8..ce566e8 100644 --- a/tests/expected.data-11.6.5-sadf-j +++ b/tests/expected.data-11.6.5-sadf-j @@ -8,6 +8,7 @@ "number-of-cpus": 8, "file-date": "2018-08-29", "file-utc-time": "09:33:38", + "timezone": "", "statistics": [ { "timestamp": {"date": "2018-08-29", "time": "09:34:34", "utc": 1, "interval": 46}, diff --git a/tests/expected.data-11.6.5-sadf-x b/tests/expected.data-11.6.5-sadf-x index 8524d52..63996b5 100644 --- a/tests/expected.data-11.6.5-sadf-x +++ b/tests/expected.data-11.6.5-sadf-x @@ -1,11 +1,11 @@ - + - 3.7 + 3.8 Linux 4.17.18-200.fc28.x86_64 @@ -13,6 +13,7 @@ xsi:schemaLocation="http://pagesperso-orange.fr/sebastien.godard sysstat.xsd"> 8 2018-08-29 09:33:38 + diff --git a/tests/expected.data-wghfreq-sadf-j b/tests/expected.data-wghfreq-sadf-j index ba60c01..b09a316 100644 --- a/tests/expected.data-wghfreq-sadf-j +++ b/tests/expected.data-wghfreq-sadf-j @@ -8,6 +8,7 @@ "number-of-cpus": 8, "file-date": "2019-04-18", "file-utc-time": "13:20:09", + "timezone": "GMT", "statistics": [ { "timestamp": {"date": "2019-04-18", "time": "13:20:10", "utc": 1, "interval": 31}, diff --git a/tests/expected.data-wghfreq-sadf-x b/tests/expected.data-wghfreq-sadf-x index baa1103..9086579 100644 --- a/tests/expected.data-wghfreq-sadf-x +++ b/tests/expected.data-wghfreq-sadf-x @@ -1,11 +1,11 @@ - + - 3.7 + 3.8 Linux 1.2.3-TEST @@ -13,6 +13,7 @@ xsi:schemaLocation="http://pagesperso-orange.fr/sebastien.godard sysstat.xsd"> 8 2019-04-18 13:20:09 + GMT diff --git a/tests/expected.sadf-H b/tests/expected.sadf-H index 8bdb24b..8c377a0 100644 --- a/tests/expected.sadf-H +++ b/tests/expected.sadf-H @@ -4,6 +4,7 @@ Genuine sa datafile: yes (0) Host: Linux 1.2.3-TEST (SYSSTAT.TEST) 04/18/19 _x86_64_ (8 CPU) File date: 2019-04-18 File time: 13:20:09 UTC (1555593609) +Timezone: GMT File composition: (1,1,12),(0,0,9),(2,0,1) Size of a long int: 8 HZ = 100 diff --git a/tests/expected.sadf-j b/tests/expected.sadf-j index 0acb213..0e899c0 100644 --- a/tests/expected.sadf-j +++ b/tests/expected.sadf-j @@ -8,6 +8,7 @@ "number-of-cpus": 8, "file-date": "2019-04-18", "file-utc-time": "13:20:09", + "timezone": "GMT", "statistics": [ { "timestamp": {"date": "2019-04-18", "time": "13:20:19", "utc": 1, "interval": 31}, diff --git a/tests/expected.sadf-x b/tests/expected.sadf-x index fbfe746..7e6acf0 100644 --- a/tests/expected.sadf-x +++ b/tests/expected.sadf-x @@ -1,11 +1,11 @@ - + - 3.7 + 3.8 Linux 1.2.3-TEST @@ -13,6 +13,7 @@ xsi:schemaLocation="http://pagesperso-orange.fr/sebastien.godard sysstat.xsd"> 8 2019-04-18 13:20:09 + GMT diff --git a/tests/expected0.sadf-x b/tests/expected0.sadf-x index 7fbf755..934e5df 100644 --- a/tests/expected0.sadf-x +++ b/tests/expected0.sadf-x @@ -1,11 +1,11 @@ - + - 3.7 + 3.8 Linux 1.2.3-TEST @@ -13,6 +13,7 @@ xsi:schemaLocation="http://pagesperso-orange.fr/sebastien.godard sysstat.xsd"> 8 2019-04-18 13:20:09 + GMT diff --git a/tests/expected01.sadf-H b/tests/expected01.sadf-H index 39fe83a..7d0c485 100644 --- a/tests/expected01.sadf-H +++ b/tests/expected01.sadf-H @@ -4,6 +4,7 @@ Genuine sa datafile: yes (0) Host: Linux 1.2.3-TEST (SYSSTAT.TEST) 04/18/19 _x86_64_ (8 CPU) File date: 2019-04-18 File time: 13:20:09 UTC (1555593609) +Timezone: GMT File composition: (1,1,12),(0,0,9),(2,0,1) Size of a long int: 8 HZ = 100 -- 2.40.0