diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2017-01-17 19:04:37 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2017-01-17 19:04:37 +0100 |
| commit | 1ac75f06add54089e4910ecb6a97198336155c63 (patch) | |
| tree | e7d5219d6589e4ef018a5b5822a4da05b9249300 /executor/test_test.go | |
| parent | 8ead82246bc00830d0271933df316e973be4ebcc (diff) | |
executor: fix copyin of values
Currently non-bitfield values are copied incorrectly.
Probably all turned into zeros or something.
Fix that. Add test.
Diffstat (limited to 'executor/test_test.go')
| -rw-r--r-- | executor/test_test.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/executor/test_test.go b/executor/test_test.go index 86379b93b..f197dbf51 100644 --- a/executor/test_test.go +++ b/executor/test_test.go @@ -5,6 +5,16 @@ 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: |
