summaryrefslogtreecommitdiff
path: root/tmac
diff options
context:
space:
mode:
authorG. Branden Robinson <g.branden.robinson@gmail.com>2022-09-06 18:32:36 -0500
committerG. Branden Robinson <g.branden.robinson@gmail.com>2022-09-06 18:32:36 -0500
commit24d9e02d42f9ce1e1f97855bc8464e080b93c7b9 (patch)
tree2f0c86a688624efce262e3e4f7cb441c7f12abac /tmac
parentf023575c2c42ae5dc432642801a65d067c895ef3 (diff)
downloadgroff-git-24d9e02d42f9ce1e1f97855bc8464e080b93c7b9.tar.gz
[mdoc]: Change default "OS" from "BSD" to "GNU".
* tmac/mdoc/doc-common: Change `doc-default-operating-system` string from "BSD" to "GNU", per discussion with Ingo Schwarze. See <https://lists.gnu.org/archive/html/groff/2022-07/msg00280.html>. * tmac/tests/doc_smoke-test.sh: Update expectations of footer regression test.
Diffstat (limited to 'tmac')
-rw-r--r--tmac/mdoc/doc-common2
-rwxr-xr-xtmac/tests/doc_smoke-test.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/tmac/mdoc/doc-common b/tmac/mdoc/doc-common
index 1bf5cd285..acd3b227c 100644
--- a/tmac/mdoc/doc-common
+++ b/tmac/mdoc/doc-common
@@ -403,7 +403,7 @@
.\" NS
.\" NS override this in 'mdoc.local', if necessary
.
-.ds doc-default-operating-system BSD\"
+.ds doc-default-operating-system GNU\"
.
.
.\" NS doc-operating-system global string
diff --git a/tmac/tests/doc_smoke-test.sh b/tmac/tests/doc_smoke-test.sh
index daeda2af7..b55f58462 100755
--- a/tmac/tests/doc_smoke-test.sh
+++ b/tmac/tests/doc_smoke-test.sh
@@ -62,7 +62,7 @@ then
echo "paragraph body check failed" >&2
fi
-if ! echo "$OUTPUT" | grep -qE '^BSD +August 25, 2020'
+if ! echo "$OUTPUT" | grep -qE '^GNU +August 25, 2020'
then
FAIL=yes
echo "footer check failed" >&2