aboutsummaryrefslogtreecommitdiffstats
path: root/executor/test_test.go
blob: f197dbf5144b280db6ab39596a41207a4f1bdfe9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Copyright 2016 syzkaller project authors. All rights reserved.
// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.

package executor

import "testing"

func TestCopyin(t *testing.T) {
	switch res := testCopyin(); {
	case res < 0:
		t.Skip()
	case res > 0:
		t.Fail()
	default:
	}
}

func TestKVM(t *testing.T) {
	switch res := testKVM(); {
	case res < 0:
		t.Skip()
	case res > 0:
		t.Fail()
	default:
	}
}