4 desc="open may return EINVAL when an attempt was made to open a descriptor with an illegal combination of O_RDONLY, O_WRONLY, and O_RDWR"
13 expect 0 create ${n0} 0644
14 expect "0|EINVAL" open ${n0} O_RDONLY,O_RDWR
15 expect "0|EINVAL" open ${n0} O_WRONLY,O_RDWR
16 expect "0|EINVAL" open ${n0} O_RDONLY,O_WRONLY,O_RDWR