build: reduce testing output (#1031)
Use a better name in the fuzzing test to not spam the travis output, move to Go 1.13.x in travis.yaml Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
parent
4334efe802
commit
4d4363a5dc
|
@ -2,8 +2,8 @@ language: go
|
||||||
sudo: false
|
sudo: false
|
||||||
|
|
||||||
go:
|
go:
|
||||||
- 1.11.x
|
- "1.12.x"
|
||||||
- 1.12.x
|
- "1.13.x"
|
||||||
- tip
|
- tip
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
|
|
@ -147,12 +147,13 @@ func TestCrashNSEC3(t *testing.T) {
|
||||||
// TestNewRRCommentLengthCrasherString test inputs to NewRR that generated crashes.
|
// TestNewRRCommentLengthCrasherString test inputs to NewRR that generated crashes.
|
||||||
func TestNewRRCommentLengthCrasherString(t *testing.T) {
|
func TestNewRRCommentLengthCrasherString(t *testing.T) {
|
||||||
tests := []struct {
|
tests := []struct {
|
||||||
in string
|
name string
|
||||||
err string
|
in string
|
||||||
|
err string
|
||||||
}{
|
}{
|
||||||
|
|
||||||
{
|
{
|
||||||
" HINFO ;;;;;;;;;;;;;" +
|
"HINFO1", " HINFO ;;;;;;;;;;;;;" +
|
||||||
";;;;;;;;\x00\x19;;;;;;;;;;" +
|
";;;;;;;;\x00\x19;;;;;;;;;;" +
|
||||||
";\u007f;;;;;;;;;;;;;;;;;;" +
|
";\u007f;;;;;;;;;;;;;;;;;;" +
|
||||||
";;}mP_Qq_3sJ_1_84X_5" +
|
";;}mP_Qq_3sJ_1_84X_5" +
|
||||||
|
@ -255,7 +256,7 @@ func TestNewRRCommentLengthCrasherString(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, tc := range tests {
|
for _, tc := range tests {
|
||||||
t.Run(tc.in, func(t *testing.T) {
|
t.Run(tc.name, func(t *testing.T) {
|
||||||
_, err := NewRR(tc.in)
|
_, err := NewRR(tc.in)
|
||||||
if err == nil {
|
if err == nil {
|
||||||
t.Errorf("Expecting error for crasher line %s", tc.in)
|
t.Errorf("Expecting error for crasher line %s", tc.in)
|
||||||
|
|
Loading…
Reference in New Issue