aboutsummaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
authorLaura Peskin <pesk@google.com>2022-11-18 12:19:27 -0800
committerAnge Albertini <105304039+corkamig@users.noreply.github.com>2022-11-23 21:19:20 +0000
commitdefe14d671072c1341aefae2f3a2c313343fd9fc (patch)
treeeedc56114903a59447a1b19d8a0eba2bbe7d1191 /pkg
parent4b01db733a68d41909ab469cacf83de587aa83c0 (diff)
sys/fuchsia: add test for socket syscall descriptions
Also updated the constant files and added 0x0 as a valid option for `zx_socket_read` (to consume buffered data, as opposed to 0x8 = ZX_SOCKET_PEEK)
Diffstat (limited to 'pkg')
-rw-r--r--pkg/runtest/run.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/runtest/run.go b/pkg/runtest/run.go
index a0daf2b86..f8ef5cb86 100644
--- a/pkg/runtest/run.go
+++ b/pkg/runtest/run.go
@@ -310,6 +310,7 @@ func parseProg(target *prog.Target, dir, filename string) (*prog.Prog, map[strin
"ZX_ERR_BAD_HANDLE": 11,
"ZX_ERR_BAD_STATE": 20,
"ZX_ERR_TIMED_OUT": 21,
+ "ZX_ERR_SHOULD_WAIT": 22,
"ZX_ERR_PEER_CLOSED": 24,
"ZX_ERR_ALREADY_EXISTS": 26,
"ZX_ERR_ACCESS_DENIED": 30,