[libc] remove use after free in tests.
authorMichael Jones <michaelrj@google.com>
Mon, 12 Dec 2022 21:21:41 +0000 (13:21 -0800)
committerMichael Jones <michaelrj@google.com>
Mon, 12 Dec 2022 21:22:56 +0000 (13:22 -0800)
commit816b5e546c6553afd463f9630b248a17702700c9
treec6bd78510a2ea4e035611ac0e0aad8c0436f00e7
parent6fe6d8d329fceedf70e942eb445673f93210b203
[libc] remove use after free in tests.

There were some tests added that attempted to access files after they
were closed to test errno behavior, this caused sanitizer issues. Those
portions of the tests have been disabled.

Differential Revision: https://reviews.llvm.org/D139878
libc/test/src/stdio/fileop_test.cpp
libc/test/src/stdio/ftell_test.cpp