add a missing &&
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69156 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Misc/diag-mapping.c b/test/Misc/diag-mapping.c
index 0c5730f..73a36ee 100644
--- a/test/Misc/diag-mapping.c
+++ b/test/Misc/diag-mapping.c
@@ -1,7 +1,7 @@
// This should warn by default.
// RUN: clang-cc %s 2>&1 | grep "warning:" &&
// This should not emit anything.
-// RUN: clang-cc %s -Wno-extra-tokens 2>&1 | not grep diagnostic
+// RUN: clang-cc %s -Wno-extra-tokens 2>&1 | not grep diagnostic &&
// -Werror can map all warnings to error.
// RUN: clang-cc %s -Werror 2>&1 | grep "error:" &&