next iteration: make the support dependent on TEST parameters
authorespie <espie@openbsd.org>
Tue, 19 Apr 2022 12:51:32 +0000 (12:51 +0000)
committerespie <espie@openbsd.org>
Tue, 19 Apr 2022 12:51:32 +0000 (12:51 +0000)
commit7846a2497f7fd82572023837b8c1339dc343211f
tree7dc251169833f159354a089f9bd06665b8100c6f
parent714e1d16a1d7581fb00af77099043a0cf09b1940
next iteration: make the support dependent on TEST parameters
-DTEST_CACHING: try the cache
-DTEST_CACHING_VERBOSE: make it say what it does
-DTEST_CACHING_RECHECK: don't trust the cache and compare the extracted
    value with the actual package contents (thus making it slower once again)

Quite a few more checks along the way, in general
usr.sbin/pkg_add/OpenBSD/PackageLocation.pm
usr.sbin/pkg_add/OpenBSD/PackageRepository/Cache.pm
usr.sbin/pkg_add/OpenBSD/PackageRepository/Installed.pm