diff options
author | rillig <rillig@pkgsrc.org> | 2020-01-11 11:50:51 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2020-01-11 11:50:51 +0000 |
commit | 704e52d6af51507fde1cf74aee1dbaed27cf9fcf (patch) | |
tree | 3d9d0a8d1123ce8f1b8fd99404f1fa6f510d711f /doc/guide | |
parent | 758566a747fe46d2ed821b68542deeea4af8a918 (diff) | |
download | pkgsrc-704e52d6af51507fde1cf74aee1dbaed27cf9fcf.tar.gz |
doc/guide: document idiomatic use of the regress_fail function
Diffstat (limited to 'doc/guide')
-rw-r--r-- | doc/guide/files/regression.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/guide/files/regression.xml b/doc/guide/files/regression.xml index 129abbe24c9..552118354ab 100644 --- a/doc/guide/files/regression.xml +++ b/doc/guide/files/regression.xml @@ -1,4 +1,4 @@ -<!-- $NetBSD: regression.xml,v 1.7 2020/01/11 11:48:59 rillig Exp $ --> +<!-- $NetBSD: regression.xml,v 1.8 2020/01/11 11:50:51 rillig Exp $ --> <chapter id="regression"> <?dbhtml filename="regression.html"?> <title>Regression tests</title> @@ -81,6 +81,7 @@ check_result() { output_require "Example" output_require "^[[:alpha:]+[[:space:]][[:alpha:]]{6}$" output_prohibit "no such file or directory" + regress_fail "expected $expected but got $actual for input $input" } </programlisting> |