Avoid sub shell.

Another step in getting these tests to run with the integrated one.

llvm-svn: 299452
This commit is contained in:
Rafael Espindola 2017-04-04 17:49:45 +00:00
parent 61cc47ad30
commit 01a8db64b1
1 changed files with 4 additions and 2 deletions

View File

@ -22,7 +22,8 @@
// The "missing from foo" set may contain a few bogus PCs from the sanitizer
// runtime, but it must include the entire "bar" code path as a subset. Sorted
// lists can be tested for set inclusion with diff + grep.
// RUN: ( diff bar.txt foo-missing-with-main.txt || true ) | not grep "^<"
// RUN: diff bar.txt foo-missing-with-main.txt > %t.log || true
// RUN: not grep "^<" %t.log
// Second case: coverage from DSO.
// cd %T
@ -41,7 +42,8 @@
// RUN: rm *.sancov
// RUN: count 3 < bar.txt
// RUN: %sancov missing %dynamiclib < foo.txt > foo-missing.txt
// RUN: ( diff bar.txt foo-missing.txt || true ) | not grep "^<"
// RUN: diff bar.txt foo-missing.txt > %t.log || true
// RUN: not grep "^<" %t.log
// REQUIRES: x86-target-arch
// XFAIL: android