Commit 8833f997 authored by Daniel Salzman's avatar Daniel Salzman

tests: add "test_" prefix where missing

parent f38e7f55
...@@ -537,17 +537,12 @@ src/zscanner/tests/processing.h ...@@ -537,17 +537,12 @@ src/zscanner/tests/processing.h
src/zscanner/tests/tests.c src/zscanner/tests/tests.c
src/zscanner/tests/tests.h src/zscanner/tests/tests.h
src/zscanner/tests/zscanner-tool.c src/zscanner/tests/zscanner-tool.c
tests-fuzz/afl-loop.h
tests-fuzz/packet.c tests-fuzz/packet.c
tests-fuzz/packet_libfuzzer.c tests-fuzz/packet_libfuzzer.c
tests-fuzz/wrap/server.c tests-fuzz/wrap/server.c
tests-fuzz/wrap/tcp-handler.c tests-fuzz/wrap/tcp-handler.c
tests-fuzz/wrap/udp-handler.c tests-fuzz/wrap/udp-handler.c
tests/acl.c
tests/changeset.c
tests/conf.c
tests/conf_tools.c
tests/confdb.c
tests/confio.c
tests/contrib/test_base32hex.c tests/contrib/test_base32hex.c
tests/contrib/test_base64.c tests/contrib/test_base64.c
tests/contrib/test_endian.c tests/contrib/test_endian.c
...@@ -561,10 +556,6 @@ tests/contrib/test_string.c ...@@ -561,10 +556,6 @@ tests/contrib/test_string.c
tests/contrib/test_strtonum.c tests/contrib/test_strtonum.c
tests/contrib/test_wire.c tests/contrib/test_wire.c
tests/contrib/test_wire_ctx.c tests/contrib/test_wire_ctx.c
tests/dthreads.c
tests/fake_server.h
tests/fdset.c
tests/journal_lmdb.c
tests/libknot/test_control.c tests/libknot/test_control.c
tests/libknot/test_cookies-client.c tests/libknot/test_cookies-client.c
tests/libknot/test_cookies-opt.c tests/libknot/test_cookies-opt.c
...@@ -584,22 +575,32 @@ tests/libknot/test_tsig.c ...@@ -584,22 +575,32 @@ tests/libknot/test_tsig.c
tests/libknot/test_yparser.c tests/libknot/test_yparser.c
tests/libknot/test_ypscheme.c tests/libknot/test_ypscheme.c
tests/libknot/test_yptrafo.c tests/libknot/test_yptrafo.c
tests/modules/online_sign.c tests/modules/test_online_sign.c
tests/modules/rrl.c tests/modules/test_rrl.c
tests/node.c tests/test_acl.c
tests/process_answer.c tests/test_changeset.c
tests/process_query.c tests/test_conf.c
tests/query_module.c
tests/requestor.c
tests/server.c
tests/test_conf.h tests/test_conf.h
tests/test_conf_tools.c
tests/test_confdb.c
tests/test_confio.c
tests/test_dthreads.c
tests/test_fdset.c
tests/test_journal.c
tests/test_node.c
tests/test_process_answer.c
tests/test_process_query.c
tests/test_query_module.c
tests/test_requestor.c
tests/test_server.c
tests/test_server.h
tests/test_worker_pool.c
tests/test_worker_queue.c
tests/test_zone-tree.c
tests/test_zone-update.c
tests/test_zone_events.c
tests/test_zone_serial.c
tests/test_zone_timers.c
tests/test_zonedb.c
tests/utils/test_cert.c tests/utils/test_cert.c
tests/utils/test_lookup.c tests/utils/test_lookup.c
tests/worker_pool.c
tests/worker_queue.c
tests/zone_events.c
tests/zone_serial.c
tests/zone_timers.c
tests/zone_update.c
tests/zonedb.c
tests/ztree.c
...@@ -36,31 +36,33 @@ ...@@ -36,31 +36,33 @@
/libknot/test_ypscheme /libknot/test_ypscheme
/libknot/test_yptrafo /libknot/test_yptrafo
/acl /modules/test_online_sign
/changeset /modules/test_rrl
/conf
/conf_tools
/confdb
/confio
/dthreads
/fdset
/journal_lmdb
/modules/online_sign
/modules/rrl
/node
/process_answer
/process_query
/query_module
/requestor
/semantic_check
/server
/utils/test_cert /utils/test_cert
/utils/test_lookup /utils/test_lookup
/worker_pool
/worker_queue /test_acl
/zone_events /test_changeset
/zone_serial /test_conf
/zone_timers /test_conf_tools
/zone_update /test_confdb
/zonedb /test_confio
/ztree /test_dthreads
/test_fdset
/test_journal
/test_node
/test_process_answer
/test_process_query
/test_query_module
/test_requestor
/test_semantic_check
/test_server
/test_worker_pool
/test_worker_queue
/test_zone-tree
/test_zone-update
/test_zone_events
/test_zone_serial
/test_zone_timers
/test_zonedb
...@@ -48,33 +48,37 @@ check_PROGRAMS += \ ...@@ -48,33 +48,37 @@ check_PROGRAMS += \
libknot/test_yptrafo libknot/test_yptrafo
check_PROGRAMS += \ check_PROGRAMS += \
modules/online_sign \ modules/test_online_sign \
modules/rrl \ modules/test_rrl
check_PROGRAMS += \
utils/test_cert \ utils/test_cert \
utils/test_lookup \ utils/test_lookup
acl \
changeset \ check_PROGRAMS += \
conf \ test_acl \
conf_tools \ test_changeset \
confdb \ test_conf \
confio \ test_conf_tools \
dthreads \ test_confdb \
fdset \ test_confio \
journal_lmdb \ test_dthreads \
node \ test_fdset \
process_answer \ test_journal \
process_query \ test_node \
query_module \ test_process_answer \
requestor \ test_process_query \
server \ test_query_module \
worker_pool \ test_requestor \
worker_queue \ test_server \
zone_events \ test_worker_pool \
zone_serial \ test_worker_queue \
zone_timers \ test_zone-tree \
zone_update \ test_zone-update \
zonedb \ test_zone_events \
ztree test_zone_serial \
test_zone_timers \
test_zonedb
utils_test_lookup_CPPFLAGS = \ utils_test_lookup_CPPFLAGS = \
$(AM_CPPFLAGS) \ $(AM_CPPFLAGS) \
...@@ -107,9 +111,9 @@ check-local: $(check_PROGRAMS) $(check_SCRIPTS) ...@@ -107,9 +111,9 @@ check-local: $(check_PROGRAMS) $(check_SCRIPTS)
-L $(top_builddir)/tests/runtests.log \ -L $(top_builddir)/tests/runtests.log \
$(check_PROGRAMS) $(check_SCRIPTS) $(check_PROGRAMS) $(check_SCRIPTS)
acl_SOURCES = acl.c test_conf.h test_acl_SOURCES = test_acl.c test_conf.h
conf_SOURCES = conf.c test_conf.h test_conf_SOURCES = test_conf.c test_conf.h
confdb_SOURCES = confdb.c test_conf.h test_confdb_SOURCES = test_confdb.c test_conf.h
confio_SOURCES = confio.c test_conf.h test_confio_SOURCES = test_confio.c test_conf.h
process_query_SOURCES = process_query.c fake_server.h test_conf.h test_process_query_SOURCES = test_process_query.c test_server.h test_conf.h
process_answer_SOURCES = process_answer.c fake_server.h test_conf.h test_process_answer_SOURCES = test_process_answer.c test_server.h test_conf.h
- reimplement lives_ok
check_SCRIPTS = \ check_SCRIPTS = \
semantic_check test_semantic_check
CLEANFILES += $(check_SCRIPTS) CLEANFILES += $(check_SCRIPTS)
...@@ -7,10 +7,10 @@ edit = $(SED) \ ...@@ -7,10 +7,10 @@ edit = $(SED) \
-e 's|@top_srcdir[@]|$(abs_top_srcdir)|g' \ -e 's|@top_srcdir[@]|$(abs_top_srcdir)|g' \
-e 's|@top_builddir[@]|$(abs_top_builddir)|g' -e 's|@top_builddir[@]|$(abs_top_builddir)|g'
semantic_check: $(top_srcdir)/tests/semantic_check.in test_semantic_check: $(top_srcdir)/tests/test_semantic_check.in
$(edit) < $(top_srcdir)/tests/semantic_check.in > $(top_builddir)/tests/semantic_check $(edit) < $(top_srcdir)/tests/test_semantic_check.in > $(top_builddir)/tests/test_semantic_check
chmod +x $(top_builddir)/tests/semantic_check chmod +x $(top_builddir)/tests/test_semantic_check
EXTRA_DIST = \ EXTRA_DIST = \
semantic_check.in \ test_semantic_check.in \
semantic_check_data semantic_check_data
/* Copyright (C) 2013 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz> /* Copyright (C) 2017 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include "libknot/descriptor.h" #include "libknot/descriptor.h"
#include "libknot/packet/wire.h" #include "libknot/packet/wire.h"
#include "knot/query/query.h" #include "knot/query/query.h"
#include "fake_server.h" #include "test_server.h"
#include "contrib/ucw/mempool.h" #include "contrib/ucw/mempool.h"
/* @note Test helpers. */ /* @note Test helpers. */
......
/* Copyright (C) 2013 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz> /* Copyright (C) 2017 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include "libknot/descriptor.h" #include "libknot/descriptor.h"
#include "libknot/packet/wire.h" #include "libknot/packet/wire.h"
#include "knot/nameserver/process_query.h" #include "knot/nameserver/process_query.h"
#include "fake_server.h" #include "test_server.h"
#include "contrib/ucw/mempool.h" #include "contrib/ucw/mempool.h"
/* Basic response check (4 TAP tests). */ /* Basic response check (4 TAP tests). */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment