Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Knot DNS
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
22
Issues
22
List
Boards
Labels
Service Desk
Milestones
Merge Requests
18
Merge Requests
18
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Knot projects
Knot DNS
Commits
8833f997
Commit
8833f997
authored
Jan 08, 2017
by
Daniel Salzman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests: add "test_" prefix where missing
parent
f38e7f55
Changes
32
Hide whitespace changes
Inline
Side-by-side
Showing
32 changed files
with
100 additions
and
94 deletions
+100
-94
Knot.files
Knot.files
+27
-26
tests/.gitignore
tests/.gitignore
+28
-26
tests/Makefile.am
tests/Makefile.am
+36
-32
tests/TODO
tests/TODO
+0
-1
tests/modules/test_online_sign.c
tests/modules/test_online_sign.c
+0
-0
tests/modules/test_rrl.c
tests/modules/test_rrl.c
+0
-0
tests/semantic_check_data/Makefile.inc
tests/semantic_check_data/Makefile.inc
+5
-5
tests/test_acl.c
tests/test_acl.c
+0
-0
tests/test_changeset.c
tests/test_changeset.c
+0
-0
tests/test_conf.c
tests/test_conf.c
+0
-0
tests/test_conf_tools.c
tests/test_conf_tools.c
+0
-0
tests/test_confdb.c
tests/test_confdb.c
+0
-0
tests/test_confio.c
tests/test_confio.c
+0
-0
tests/test_dthreads.c
tests/test_dthreads.c
+0
-0
tests/test_fdset.c
tests/test_fdset.c
+0
-0
tests/test_journal.c
tests/test_journal.c
+0
-0
tests/test_node.c
tests/test_node.c
+0
-0
tests/test_process_answer.c
tests/test_process_answer.c
+2
-2
tests/test_process_query.c
tests/test_process_query.c
+2
-2
tests/test_query_module.c
tests/test_query_module.c
+0
-0
tests/test_requestor.c
tests/test_requestor.c
+0
-0
tests/test_semantic_check.in
tests/test_semantic_check.in
+0
-0
tests/test_server.c
tests/test_server.c
+0
-0
tests/test_server.h
tests/test_server.h
+0
-0
tests/test_worker_pool.c
tests/test_worker_pool.c
+0
-0
tests/test_worker_queue.c
tests/test_worker_queue.c
+0
-0
tests/test_zone-tree.c
tests/test_zone-tree.c
+0
-0
tests/test_zone-update.c
tests/test_zone-update.c
+0
-0
tests/test_zone_events.c
tests/test_zone_events.c
+0
-0
tests/test_zone_serial.c
tests/test_zone_serial.c
+0
-0
tests/test_zone_timers.c
tests/test_zone_timers.c
+0
-0
tests/test_zonedb.c
tests/test_zonedb.c
+0
-0
No files found.
Knot.files
View file @
8833f997
...
...
@@ -537,17 +537,12 @@ src/zscanner/tests/processing.h
src/zscanner/tests/tests.c
src/zscanner/tests/tests.h
src/zscanner/tests/zscanner-tool.c
tests-fuzz/afl-loop.h
tests-fuzz/packet.c
tests-fuzz/packet_libfuzzer.c
tests-fuzz/wrap/server.c
tests-fuzz/wrap/tcp-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_base64.c
tests/contrib/test_endian.c
...
...
@@ -561,10 +556,6 @@ tests/contrib/test_string.c
tests/contrib/test_strtonum.c
tests/contrib/test_wire.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_cookies-client.c
tests/libknot/test_cookies-opt.c
...
...
@@ -584,22 +575,32 @@ tests/libknot/test_tsig.c
tests/libknot/test_yparser.c
tests/libknot/test_ypscheme.c
tests/libknot/test_yptrafo.c
tests/modules/online_sign.c
tests/modules/rrl.c
tests/node.c
tests/process_answer.c
tests/process_query.c
tests/query_module.c
tests/requestor.c
tests/server.c
tests/modules/test_online_sign.c
tests/modules/test_rrl.c
tests/test_acl.c
tests/test_changeset.c
tests/test_conf.c
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_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
tests/.gitignore
View file @
8833f997
...
...
@@ -36,31 +36,33 @@
/libknot/test_ypscheme
/libknot/test_yptrafo
/acl
/changeset
/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
/modules/test_online_sign
/modules/test_rrl
/utils/test_cert
/utils/test_lookup
/worker_pool
/worker_queue
/zone_events
/zone_serial
/zone_timers
/zone_update
/zonedb
/ztree
/test_acl
/test_changeset
/test_conf
/test_conf_tools
/test_confdb
/test_confio
/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
tests/Makefile.am
View file @
8833f997
...
...
@@ -48,33 +48,37 @@ check_PROGRAMS += \
libknot/test_yptrafo
check_PROGRAMS
+=
\
modules/online_sign
\
modules/rrl
\
modules/test_online_sign
\
modules/test_rrl
check_PROGRAMS
+=
\
utils/test_cert
\
utils/test_lookup
\
acl
\
changeset
\
conf
\
conf_tools
\
confdb
\
confio
\
dthreads
\
fdset
\
journal_lmdb
\
node
\
process_answer
\
process_query
\
query_module
\
requestor
\
server
\
worker_pool
\
worker_queue
\
zone_events
\
zone_serial
\
zone_timers
\
zone_update
\
zonedb
\
ztree
utils/test_lookup
check_PROGRAMS
+=
\
test_acl
\
test_changeset
\
test_conf
\
test_conf_tools
\
test_confdb
\
test_confio
\
test_dthreads
\
test_fdset
\
test_journal
\
test_node
\
test_process_answer
\
test_process_query
\
test_query_module
\
test_requestor
\
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
utils_test_lookup_CPPFLAGS
=
\
$(AM_CPPFLAGS)
\
...
...
@@ -107,9 +111,9 @@ check-local: $(check_PROGRAMS) $(check_SCRIPTS)
-L
$(top_builddir)
/tests/runtests.log
\
$(check_PROGRAMS)
$(check_SCRIPTS)
acl_SOURCES
=
acl.c test_conf.h
conf_SOURCES
=
conf.c test_conf.h
confdb_SOURCES
=
confdb.c test_conf.h
confio_SOURCES
=
confio.c test_conf.h
process_query_SOURCES
=
process_query.c fake
_server.h test_conf.h
process_answer_SOURCES
=
process_answer.c fake
_server.h test_conf.h
test_acl_SOURCES
=
test_
acl.c test_conf.h
test_conf_SOURCES
=
test_
conf.c test_conf.h
test_confdb_SOURCES
=
test_
confdb.c test_conf.h
test_confio_SOURCES
=
test_
confio.c test_conf.h
test_process_query_SOURCES
=
test_process_query.c test
_server.h test_conf.h
test_process_answer_SOURCES
=
test_process_answer.c test
_server.h test_conf.h
tests/TODO
deleted
100644 → 0
View file @
f38e7f55
- reimplement lives_ok
tests/modules/online_sign.c
→
tests/modules/
test_
online_sign.c
View file @
8833f997
File moved
tests/modules/rrl.c
→
tests/modules/
test_
rrl.c
View file @
8833f997
File moved
tests/semantic_check_data/Makefile.inc
View file @
8833f997
check_SCRIPTS
=
\
semantic_check
test_
semantic_check
CLEANFILES
+=
$(check_SCRIPTS)
...
...
@@ -7,10 +7,10 @@ edit = $(SED) \
-e
's|@top_srcdir[@]|
$(abs_top_srcdir)
|g'
\
-e
's|@top_builddir[@]|
$(abs_top_builddir)
|g'
semantic_check
:
$(top_srcdir)/tests/
semantic_check.in
$(edit)
<
$(top_srcdir)
/tests/
semantic_check.in
>
$(top_builddir)
/tests/
semantic_check
chmod
+x
$(top_builddir)
/tests/semantic_check
test_semantic_check
:
$(top_srcdir)/tests/test_
semantic_check.in
$(edit)
<
$(top_srcdir)
/tests/
test_semantic_check.in
>
$(top_builddir)
/tests/test_
semantic_check
chmod
+x
$(top_builddir)
/tests/
test_
semantic_check
EXTRA_DIST
=
\
semantic_check.in
\
test_
semantic_check.in
\
semantic_check_data
tests/acl.c
→
tests/
test_
acl.c
View file @
8833f997
File moved
tests/changeset.c
→
tests/
test_
changeset.c
View file @
8833f997
File moved
tests/conf.c
→
tests/
test_
conf.c
View file @
8833f997
File moved
tests/conf_tools.c
→
tests/
test_
conf_tools.c
View file @
8833f997
File moved
tests/confdb.c
→
tests/
test_
confdb.c
View file @
8833f997
File moved
tests/confio.c
→
tests/
test_
confio.c
View file @
8833f997
File moved
tests/dthreads.c
→
tests/
test_
dthreads.c
View file @
8833f997
File moved
tests/fdset.c
→
tests/
test_
fdset.c
View file @
8833f997
File moved
tests/
journal_lmdb
.c
→
tests/
test_journal
.c
View file @
8833f997
File moved
tests/node.c
→
tests/
test_
node.c
View file @
8833f997
File moved
tests/process_answer.c
→
tests/
test_
process_answer.c
View file @
8833f997
/* Copyright (C) 201
3
CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
/* Copyright (C) 201
7
CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
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
...
...
@@ -22,7 +22,7 @@
#include "libknot/descriptor.h"
#include "libknot/packet/wire.h"
#include "knot/query/query.h"
#include "
fake
_server.h"
#include "
test
_server.h"
#include "contrib/ucw/mempool.h"
/* @note Test helpers. */
...
...
tests/process_query.c
→
tests/
test_
process_query.c
View file @
8833f997
/* Copyright (C) 201
3
CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
/* Copyright (C) 201
7
CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
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
...
...
@@ -22,7 +22,7 @@
#include "libknot/descriptor.h"
#include "libknot/packet/wire.h"
#include "knot/nameserver/process_query.h"
#include "
fake
_server.h"
#include "
test
_server.h"
#include "contrib/ucw/mempool.h"
/* Basic response check (4 TAP tests). */
...
...
tests/query_module.c
→
tests/
test_
query_module.c
View file @
8833f997
File moved
tests/requestor.c
→
tests/
test_
requestor.c
View file @
8833f997
File moved
tests/semantic_check.in
→
tests/
test_
semantic_check.in
View file @
8833f997
File moved
tests/server.c
→
tests/
test_
server.c
View file @
8833f997
File moved
tests/
fake
_server.h
→
tests/
test
_server.h
View file @
8833f997
File moved
tests/worker_pool.c
→
tests/
test_
worker_pool.c
View file @
8833f997
File moved
tests/worker_queue.c
→
tests/
test_
worker_queue.c
View file @
8833f997
File moved
tests/
z
tree.c
→
tests/
test_zone-
tree.c
View file @
8833f997
File moved
tests/
zone_
update.c
→
tests/
test_zone-
update.c
View file @
8833f997
File moved
tests/zone_events.c
→
tests/
test_
zone_events.c
View file @
8833f997
File moved
tests/zone_serial.c
→
tests/
test_
zone_serial.c
View file @
8833f997
File moved
tests/zone_timers.c
→
tests/
test_
zone_timers.c
View file @
8833f997
File moved
tests/zonedb.c
→
tests/
test_
zonedb.c
View file @
8833f997
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment