coredns/test
Miek Gieben 7a3371d740
plugin/file: allow README.md testing (#3052)
* Fix corefile usage

* plugin/file: allow README.md testing

Allow readme testing for the file plugin and fix bugs that where found:

* the reader wasn't reset when re-reading the same io.reader for a
  different origin.

Signed-off-by: Miek Gieben <miek@miek.nl>

* Update test/example_test.go

Co-Authored-By: Michael Grosser <development@stp-ip.net>
2019-07-27 11:47:55 +00:00
..
auto_test.go Fully deprecate TIMEOUT and NO_RELOAD (#2742) 2019-04-01 07:28:01 +01:00
cache_test.go Move *proxy* to external (#2651) 2019-03-04 07:32:38 +00:00
chaos_test.go Update Caddy to 1.0.1, and update import path (#2961) 2019-07-03 09:04:47 +08:00
compression_scrub_test.go some typo fix (#2512) 2019-01-29 10:21:19 -05:00
doc.go Doc: add package docs (#296) 2016-09-25 08:39:20 +01:00
ds_file_test.go Remove duplicated TempFile testsuit (#2508) 2019-01-28 07:25:14 +00:00
edns0_test.go Fix EDNS0 compliance (#2357) 2018-12-06 21:18:11 +00:00
erratic_autopath_test.go Move *proxy* to external (#2651) 2019-03-04 07:32:38 +00:00
etcd_cache_test.go Default to upstream to self (#2436) 2019-01-13 16:54:49 +00:00
etcd_credentials_test.go Fix etcd_cache_test to runnable multiple times. (#2546) 2019-02-09 14:39:51 +00:00
etcd_test.go Move *proxy* to external (#2651) 2019-03-04 07:32:38 +00:00
example_test.go plugin/file: allow README.md testing (#3052) 2019-07-27 11:47:55 +00:00
external_test.go Fix error string should not be capitalized (#2608) 2019-02-27 08:25:02 -05:00
file_cname_proxy_test.go Move *proxy* to external (#2651) 2019-03-04 07:32:38 +00:00
file_reload_test.go plugin/file: make non-existent file non-fatal (#2955) 2019-07-04 13:56:37 +08:00
file_serve_test.go Remove duplicated TempFile testsuit (#2508) 2019-01-28 07:25:14 +00:00
file_srv_additional_test.go Remove duplicated TempFile testsuit (#2508) 2019-01-28 07:25:14 +00:00
file_test.go Remove duplicated TempFile testsuit (#2508) 2019-01-28 07:25:14 +00:00
file_upstream_test.go Remove duplicated TempFile testsuit (#2508) 2019-01-28 07:25:14 +00:00
file_xfr_test.go file: close correctlty after AXFR (#2943) 2019-07-03 07:01:57 +01:00
fuzz_corefile.go Fuzzing: add more fuzzing targets (#2402) 2018-12-17 07:49:15 +00:00
grpc_test.go Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
hosts_file_test.go Default to upstream to self (#2436) 2019-01-13 16:54:49 +00:00
log_test.go Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
metrics_test.go Fully deprecate TIMEOUT and NO_RELOAD (#2742) 2019-04-01 07:28:01 +01:00
miek_test.go middleware/file: fix DS handling (#344) 2016-10-19 17:46:03 +01:00
plugin_dnssec_test.go Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
plugin_test.go Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
proxy_health_test.go Move *proxy* to external (#2651) 2019-03-04 07:32:38 +00:00
proxy_test.go Default to upstream to self (#2436) 2019-01-13 16:54:49 +00:00
readme_test.go Update Caddy to 1.0.1, and update import path (#2961) 2019-07-03 09:04:47 +08:00
reload_test.go Ensure Re-register of metrics variables after a reload (#2080) 2018-09-19 02:11:24 -07:00
reverse_test.go Default to upstream to self (#2436) 2019-01-13 16:54:49 +00:00
rewrite_test.go Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
secondary_test.go Fixed typo in 'transferred' (#3020) 2019-07-19 06:06:26 +00:00
server.go Update Caddy to 1.0.1, and update import path (#2961) 2019-07-03 09:04:47 +08:00
server_reverse_test.go Fix ineffassign (#1959) 2018-07-28 10:32:13 +01:00
server_test.go Move *proxy* to external (#2651) 2019-03-04 07:32:38 +00:00
template_upstream_test.go plugin/template: fix CNAME upstream handling (#1886) 2018-06-21 14:38:29 -04:00
wildcard_test.go Default to upstream to self (#2436) 2019-01-13 16:54:49 +00:00