Skip to content

Commit 1429204

Browse files
committed
[NFC][sanitizer] Debug errno in test
1 parent e1a1f18 commit 1429204

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +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);
1920
if (errno == EOPNOTSUPP)
2021
return;
2122
}

0 commit comments

Comments
 (0)