aboutsummaryrefslogtreecommitdiff
blob: b615c2d19d190dda715543a006b5d6bb16ff3ca5 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh
# verify openat("") returns ENOENT in various ways #346929

set -e
openat-0 -1,ENOENT .:O_DIRECTORY '' O_RDONLY 0
openat-0 -1,ENOENT .:O_DIRECTORY '' 'O_CREAT|O_WRONLY' 0

openat-0 -1,ENOENT -3 '' O_RDONLY 0
openat-0 -1,ENOENT -3 '' 'O_CREAT|O_WRONLY' 0