Skip test requiring /usr/bin/mandoc if it does not exist, as is the case

when text.tgz has not been installed.
This commit is contained in:
gson 2012-08-28 15:22:18 +00:00
parent c796231d41
commit 8b7093cae5

View File

@ -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>