From 611edee2bfe62872318ad1d355d49512ecce47f3 Mon Sep 17 00:00:00 2001 From: Ralph Corderoy Date: Mon, 15 May 2017 13:10:30 +0100 Subject: [PATCH] test/mhical/test-mhical: Force UTC timezone for mhical. Commit c3238c0e added a test but mhical's output depends on its timezone; force it to UTC for consistent results. --- test/mhical/test-mhical | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/mhical/test-mhical b/test/mhical/test-mhical index 44983829..f6d75af0 100755 --- a/test/mhical/test-mhical +++ b/test/mhical/test-mhical @@ -822,8 +822,8 @@ start_test "missing final newline" cat >"$expected" <<'EOF' Summary: test Description: this file does not end with a newline -At: Sun, 14 May 2017 09:00 -0400 -To: Sun, 14 May 2017 10:00 +At: Sun, 14 May 2017 13:00 +0000 +To: Sun, 14 May 2017 14:00 EOF printf %s \ @@ -837,7 +837,7 @@ DTEND:20170514T140000Z SUMMARY:test DESCRIPTION:this file does not end with a newline END:VEVENT -END:VCALENDAR" | mhical >"$actual" +END:VCALENDAR" | TZ=UTC mhical >"$actual" check "$expected" "$actual" -- 2.56.0