mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 05:42:29 +00:00
Fix popen_test in MODE=dbg
ASAN and vfork() don't appear to play well together. Maybe in later versions of GCC it'll be better. But vfork() is flirting with danger after all and that probably doesn't make sense in ASAN mode anyway.
This commit is contained in:
parent
cef08d47b6
commit
fabf7f9f02
5 changed files with 35 additions and 14 deletions
|
@ -23,7 +23,6 @@
|
|||
TEST(popen, test) {
|
||||
int ws;
|
||||
FILE *f;
|
||||
/* TODO(jart): look into popen() asan error */
|
||||
f = popen("echo hi", "r");
|
||||
ASSERT_NE(NULL, f);
|
||||
EXPECT_EQ('h', fgetc(f));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue