mirror of
https://git.proxmox.com/git/proxmox-acme
synced 2025-08-12 05:08:38 +00:00
tests: run missing-function test on build
as we only use a heuristic we maintain a known good expected false positive list, update that if new ones get added but be sure that no new function was included! Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
cdeee69003
commit
da5faaaca3
@ -1,6 +1,12 @@
|
|||||||
|
|
||||||
.PHONY: test
|
.PHONY: test test-missing-functions
|
||||||
test: verify-dnsapi-plugins-in-schema.pl.t
|
test: verify-dnsapi-plugins-in-schema.pl.t test-missing-functions
|
||||||
|
|
||||||
%.t: %
|
%.t: %
|
||||||
./$<
|
./$<
|
||||||
|
|
||||||
|
test-missing-functions:
|
||||||
|
./check-missing-functions | sort -u > missing-functions.actual
|
||||||
|
# check if any change against our known-ok false-positive list
|
||||||
|
diff -up -N missing-functions.expected missing-functions.actual
|
||||||
|
rm missing-functions.actual # ok, cleanup
|
||||||
|
4
src/test/missing-functions.expected
Normal file
4
src/test/missing-functions.expected
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
../acme.sh/dnsapi/dns_cyon.sh: printf "%s" "${_dns_entries}" | while read -r _hash _identifier; do
|
||||||
|
../acme.sh/dnsapi/dns_do.sh: for _rrid in ${_rr_list}; do
|
||||||
|
../acme.sh/dnsapi/dns_gdnsdk.sh: for _domain in $_domains; do
|
||||||
|
../acme.sh/dnsapi/dns_openstack.sh: for _rec in $_records; do
|
Loading…
Reference in New Issue
Block a user