From 1ac75f06add54089e4910ecb6a97198336155c63 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 17 Jan 2017 19:04:37 +0100 Subject: executor: fix copyin of values Currently non-bitfield values are copied incorrectly. Probably all turned into zeros or something. Fix that. Add test. --- executor/test_test.go | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'executor/test_test.go') 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: -- cgit mrf-deployment