Skip to content

Commit

Permalink
[nfc][asan][android] Fix test after D124057
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalybuka committed Apr 23, 2022
1 parent 62b78a0 commit 9c8e93c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions compiler-rt/test/sanitizer_common/TestCases/Posix/setvbuf.cpp
Expand Up @@ -25,6 +25,8 @@ void test_setbuf() {
print_something();

print_one_byte(buf);

setbuf(stdout, NULL);
}

void test_setbuffer() {
Expand All @@ -41,6 +43,8 @@ void test_setbuffer() {
print_something();

print_one_byte(buf);

setbuffer(stdout, NULL, 0);
}

void test_setlinebuf() {
Expand All @@ -67,6 +71,8 @@ void test_setvbuf() {
print_something();

print_one_byte(buf);

setvbuf(stdout, NULL, _IONBF, 0);
}

int main(void) {
Expand Down

0 comments on commit 9c8e93c

Please sign in to comment.