mirror of
https://github.com/reactos/syzkaller.git
synced 2024-11-28 22:00:24 +00:00
1ac75f06ad
Currently non-bitfield values are copied incorrectly. Probably all turned into zeros or something. Fix that. Add test.
27 lines
456 B
Go
27 lines
456 B
Go
// 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:
|
|
}
|
|
}
|