gbranden pushed a commit to branch master
in repository groff.
commit c7ccab7584c7f90127938d67f942bdd1918b0e1f
Author: G. Branden Robinson <[email protected]>
AuthorDate: Wed Dec 27 18:40:03 2023 -0600
[tests]: Fix always-successful test.
* src/roff/groff/tests/dot-trap_register_works.sh: Fix thinko. The test
was spuriously always passing. Fortunately, the test continues to
pass when corrected. Problem introduced by me with new `.trap`
register feature in commit 4c2cd5e076, 26 July.
---
ChangeLog | 7 +++++++
src/roff/groff/tests/dot-trap_register_works.sh | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index a5b386cc2..8ee79c0f2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2023-12-27 G. Branden Robinson <[email protected]>
+
+ * src/roff/groff/tests/dot-trap_register_works.sh: Fix thinko.
+ The test was spuriously always passing. Fortunately, the test
+ continues to pass when corrected. Problem introduced by me with
+ new `.trap` register feature in commit 4c2cd5e076, 26 July.
+
2023-12-27 G. Branden Robinson <[email protected]>
[troff]: Fix code style nits.
diff --git a/src/roff/groff/tests/dot-trap_register_works.sh
b/src/roff/groff/tests/dot-trap_register_works.sh
index 810e2cb50..73d570e2e 100755
--- a/src/roff/groff/tests/dot-trap_register_works.sh
+++ b/src/roff/groff/tests/dot-trap_register_works.sh
@@ -68,4 +68,4 @@ echo "$error" | grep -Fqx 'A: .trap=XX' || wail
echo "checking operation of .trap in diversion, after trap"
echo "$error" | grep -Fqx 'B: .trap=' || wail
-test -z "$FAIL"
+test -z "$fail"
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit