[libFuzzer] [NFC] Generalize fdmask test.

The ordering of stderr/stdout writes might not be guaranteed,
and is irrelevant for this test.

Differential Revision: https://reviews.llvm.org/D47294

llvm-svn: 333245
This commit is contained in:
George Karpenkov 2018-05-24 23:55:54 +00:00
parent b4ccb3ab08
commit 698b0a674d
1 changed files with 12 additions and 12 deletions

View File

@ -6,23 +6,23 @@ RUN: %run %t-SpamyTest -runs=1 -close_fd_mask=1 2>&1 | FileCheck %s --check-pref
RUN: %run %t-SpamyTest -runs=1 -close_fd_mask=2 2>&1 | FileCheck %s --check-prefix=FD_MASK_2 RUN: %run %t-SpamyTest -runs=1 -close_fd_mask=2 2>&1 | FileCheck %s --check-prefix=FD_MASK_2
RUN: %run %t-SpamyTest -runs=1 -close_fd_mask=3 2>&1 | FileCheck %s --check-prefix=FD_MASK_3 RUN: %run %t-SpamyTest -runs=1 -close_fd_mask=3 2>&1 | FileCheck %s --check-prefix=FD_MASK_3
FD_MASK_0: PRINTF_STDOUT FD_MASK_0-DAG: PRINTF_STDOUT
FD_MASK_0: PRINTF_STDERR FD_MASK_0-DAG: PRINTF_STDERR
FD_MASK_0: STREAM_COUT FD_MASK_0-DAG: STREAM_COUT
FD_MASK_0: STREAM_CERR FD_MASK_0-DAG: STREAM_CERR
FD_MASK_0: INITED FD_MASK_0-DAG: INITED
FD_MASK_1-NOT: PRINTF_STDOUT FD_MASK_1-NOT: PRINTF_STDOUT
FD_MASK_1: PRINTF_STDERR FD_MASK_1-DAG: PRINTF_STDERR
FD_MASK_1-NOT: STREAM_COUT FD_MASK_1-NOT: STREAM_COUT
FD_MASK_1: STREAM_CERR FD_MASK_1-DAG: STREAM_CERR
FD_MASK_1: INITED FD_MASK_1-DAG: INITED
FD_MASK_2: PRINTF_STDOUT FD_MASK_2-DAG: PRINTF_STDOUT
FD_MASK_2-DAG: STREAM_COUT
FD_MASK_2-DAG: INITED
FD_MASK_2-NOT: PRINTF_STDERR FD_MASK_2-NOT: PRINTF_STDERR
FD_MASK_2: STREAM_COUT FD_MASK_2-NOT: STREAM_CERR
FD_MASK_2-NOTE: STREAM_CERR
FD_MASK_2: INITED
FD_MASK_3-NOT: PRINTF_STDOUT FD_MASK_3-NOT: PRINTF_STDOUT
FD_MASK_3-NOT: PRINTF_STDERR FD_MASK_3-NOT: PRINTF_STDERR