tests: clean up output
Some document improvements and add a few more tests.
This commit is contained in:
parent
e43384b501
commit
e8b4412564
8 changed files with 53 additions and 13 deletions
|
@ -2,6 +2,7 @@ package file
|
|||
|
||||
import (
|
||||
"io/ioutil"
|
||||
"log"
|
||||
"os"
|
||||
"testing"
|
||||
"time"
|
||||
|
@ -11,6 +12,8 @@ import (
|
|||
)
|
||||
|
||||
func TestZoneReload(t *testing.T) {
|
||||
log.SetOutput(ioutil.Discard)
|
||||
|
||||
fileName, rm, err := test.TempFile(".", reloadZoneTest)
|
||||
if err != nil {
|
||||
t.Fatalf("failed to create zone: %s", err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue