diff options
author | Henrik Riomar <henrik.riomar@gmail.com> | 2019-03-04 21:42:29 +0100 |
---|---|---|
committer | Henrik Riomar <henrik.riomar@gmail.com> | 2019-03-04 22:29:55 +0100 |
commit | 5c21abb0a034e641fd61c624261c943d53060eaf (patch) | |
tree | e243c5274e3fe5e98ab4ff73241d720f0ec8982a /community/scdoc/scdoc-use-TZ-UTC-in-test-case.patch | |
parent | 0675ed6d43e7090eb9802d47fa7cbc2eb6324570 (diff) | |
download | aports-5c21abb0a034e641fd61c624261c943d53060eaf.tar.bz2 aports-5c21abb0a034e641fd61c624261c943d53060eaf.tar.xz |
community/scdoc: upgrade to 1.9.4
Diffstat (limited to 'community/scdoc/scdoc-use-TZ-UTC-in-test-case.patch')
-rw-r--r-- | community/scdoc/scdoc-use-TZ-UTC-in-test-case.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/community/scdoc/scdoc-use-TZ-UTC-in-test-case.patch b/community/scdoc/scdoc-use-TZ-UTC-in-test-case.patch new file mode 100644 index 0000000000..d1c8e76742 --- /dev/null +++ b/community/scdoc/scdoc-use-TZ-UTC-in-test-case.patch @@ -0,0 +1,29 @@ +From 39d1b1a4cea4f5f562d571bd6b090e72c057becb Mon Sep 17 00:00:00 2001 +From: Henrik Riomar <henrik.riomar@gmail.com> +Date: Mon, 4 Mar 2019 22:03:25 +0100 +Subject: [PATCH] [PATCH scdoc] use TZ=UTC in test case + +--- + test/preamble | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/test/preamble b/test/preamble +index 969d674..71f1372 100755 +--- a/test/preamble ++++ b/test/preamble +@@ -70,10 +70,11 @@ test-manual(8) "" "Header" + EOF + end 0 + ++export TZ=UTC + export SOURCE_DATE_EPOCH=$(date --date="2017-12-09 23:18:57" +'%s') + + begin "Supports \$SOURCE_DATE_EPOCH" +-scdoc <<EOF | grep '^\.TH "reproducible-manual" "8" "2017-12-10"' >/dev/null ++scdoc <<EOF | grep '^\.TH "reproducible-manual" "8" "2017-12-09"' >/dev/null + reproducible-manual(8) + EOF + end 0 +-- +2.21.0 + |