diff options
Diffstat (limited to 'prog/encodingexec_test.go')
| -rw-r--r-- | prog/encodingexec_test.go | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/prog/encodingexec_test.go b/prog/encodingexec_test.go index 4a8e5c7fd..5e0f73ce6 100644 --- a/prog/encodingexec_test.go +++ b/prog/encodingexec_test.go @@ -463,10 +463,14 @@ func TestSerializeForExec(t *testing.T) { nil, }, { - "test() (fail_nth: 3)", + `test() (fail_nth: 3) +test() (fail_nth: 4) +`, []uint64{ execInstrSetProps, 3, callID("test"), ExecNoCopyout, 0, + execInstrSetProps, 4, + callID("test"), ExecNoCopyout, 0, execInstrEOF, }, &ExecProg{ @@ -476,6 +480,11 @@ func TestSerializeForExec(t *testing.T) { Index: ExecNoCopyout, Props: CallProps{3}, }, + { + Meta: target.SyscallMap["test"], + Index: ExecNoCopyout, + Props: CallProps{4}, + }, }, }, }, |
