From: Ralph Corderoy Date: Mon, 15 May 2017 12:10:30 +0000 (+0100) Subject: test/mhical/test-mhical: Force UTC timezone for mhical. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/611edee2bfe62872318ad1d355d49512ecce47f3?ds=sidebyside 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. --- 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"