Skip to content

Commit 81c3499

Browse files
committed
[NFC][sanitizer] Skip test if O_TMPFILE EINVAL on some FS
1 parent 0d334d8 commit 81c3499

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

compiler-rt/test/sanitizer_common/TestCases/Posix/variadic-open.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ void test(const char *path, int flags) {
1616
int fd = open(path, flags, 0600);
1717
if (fd == -1) {
1818
perror(path);
19-
fprintf(stderr, "\n%d\n", errno);
20-
if (errno == EOPNOTSUPP)
19+
if (errno == EOPNOTSUPP || errno == EINVAL)
2120
return;
2221
}
2322
assert(fd != -1);

0 commit comments

Comments
 (0)