This is an archive of the discontinued LLVM Phabricator instance.

[libFuzzer] [NFC] Generalize fdmask test.
ClosedPublic

Authored by george.karpenkov on May 23 2018, 3:23 PM.

Details

Diff Detail

Event Timeline

Since the test flushes output after each write to stdout, why is ordering not guaranteed here?

@morehouse we have issues with stdout/stderr arriving in unexpected order when run on devices and streaming across the network.
In this case adding -DAG seems like an easiest choice, since the test purpose is to check that close_fd_mask would close the corresponding file descriptor.

morehouse accepted this revision.May 23 2018, 7:03 PM
This revision is now accepted and ready to land.May 23 2018, 7:03 PM
This revision was automatically updated to reflect the committed changes.
Herald added subscribers: Restricted Project, llvm-commits. · View Herald TranscriptMay 24 2018, 5:00 PM