From aa6c6a5572a4797ea6109a75ca50a2c86908375e Mon Sep 17 00:00:00 2001 From: Marco Vanotti Date: Fri, 20 Mar 2020 11:20:02 -0700 Subject: sys/fuchsia: Add cprng and vmo tests. This commit adds two new tests for fuchsia. One tests a basic syscall (zx_cprng_draw), and the other does multiple tests over a vmo. --- pkg/runtest/run.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pkg') diff --git a/pkg/runtest/run.go b/pkg/runtest/run.go index 399fb2f49..7c2b1e6a4 100644 --- a/pkg/runtest/run.go +++ b/pkg/runtest/run.go @@ -291,6 +291,9 @@ func parseProg(target *prog.Target, dir, filename string) (*prog.Prog, map[strin "EINVAL": 22, "ENOTTY": 25, "EOPNOTSUPP": 95, + + // Fuchsia specific errors. + "ZX_ERR_BAD_HANDLE": 11, } info := &ipc.ProgInfo{Calls: make([]ipc.CallInfo, len(p.Calls))} for i, call := range p.Calls { -- cgit mrf-deployment