mirror of
https://git.proxmox.com/git/proxmox-acme
synced 2025-04-28 14:01:42 +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
|
||||
test: verify-dnsapi-plugins-in-schema.pl.t
|
||||
.PHONY: test test-missing-functions
|
||||
test: verify-dnsapi-plugins-in-schema.pl.t test-missing-functions
|
||||
|
||||
%.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