Skip to content
This repository was archived by the owner on Oct 11, 2023. It is now read-only.

How to run tests

Sergey Bronnikov edited this page Dec 5, 2017 · 52 revisions

Running of OpenBSD regression testsuite is not difficult. But you should know some tricks about the process. OpenBSD testsuite have external requirements and many of regression tests doesn't install it before running. So it would be easily for you to install all these requirements manually before running tests. The whole list of required packages:

$ pkg_add net-snmp scapy py-libdnet p5-Net-Flow p5-BSD-Socket-Splice \
p5-IO-Socket-INET6 p5-Socket6 p5-File-Slurp p5-BSD-Resource \
p5-IO-Socket-SSL p5-ldap openldap-client-- p5-AnyEvent p5-Hash-Merge \
p5-YAML-1.19  p5-NetPacket  p5-Net-Pcap p5-Crypt-Random

Command below will start tests placed in regress directory where each directory contains tests for appropriate component:

$ cd /usr/src/
$ make regress

See more in bsd.regress.mk(5).

NOTE: some regression tests are placed with source files (like bin/ed/test).

Clone this wiki locally