See the chapter "Regression tests" in the pkgsrc guide (doc/pkgsrc.txt)
for more information about these tests.