Module Name: src
Committed By: gson
Date: Tue Aug 28 15:22:18 UTC 2012
Modified Files:
src/tests/share/mk: t_prog.sh
Log Message:
Skip test requiring /usr/bin/mandoc if it does not exist, as is the case
when text.tgz has not been installed.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/share/mk/t_prog.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/share/mk/t_prog.sh
diff -u src/tests/share/mk/t_prog.sh:1.1 src/tests/share/mk/t_prog.sh:1.2
--- src/tests/share/mk/t_prog.sh:1.1 Sun Aug 26 23:03:21 2012
+++ src/tests/share/mk/t_prog.sh Tue Aug 28 15:22:18 2012
@@ -27,6 +27,9 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
atf_test_case defaults__build_and_install
+defaults__build_and_install_head() {
+ atf_set "require.progs" "/usr/bin/mandoc"
+}
defaults__build_and_install_body() {
cat >hello.c <<EOF
#include <stdio.h>