pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/doc/guide/files



Module Name:    pkgsrc
Committed By:   rillig
Date:           Sat Jan 11 11:50:51 UTC 2020

Modified Files:
        pkgsrc/doc/guide/files: regression.xml

Log Message:
doc/guide: document idiomatic use of the regress_fail function


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/doc/guide/files/regression.xml

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/doc/guide/files/regression.xml
diff -u pkgsrc/doc/guide/files/regression.xml:1.7 pkgsrc/doc/guide/files/regression.xml:1.8
--- pkgsrc/doc/guide/files/regression.xml:1.7   Sat Jan 11 11:48:59 2020
+++ pkgsrc/doc/guide/files/regression.xml       Sat Jan 11 11:50:51 2020
@@ -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>
 



Home | Main Index | Thread Index | Old Index