FileCheck-ize.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184151 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Driver/debug-options.c b/test/Driver/debug-options.c
index ca77abf..aad97d4 100644
--- a/test/Driver/debug-options.c
+++ b/test/Driver/debug-options.c
@@ -21,8 +21,8 @@
// RUN: | FileCheck -check-prefix=GLTO_NO %s
//
// RUN: %clang -### -c -grecord-gcc-switches -gno-record-gcc-switches \
-// RUN: -gstrict-dwarf -gno-strict-dwarf %s 2>&1 \
-// RUN: | not grep "argument unused during compilation"
+// RUN: -gstrict-dwarf -gno-strict-dwarf %s 2>&1 \
+// RUN: | FileCheck -check-prefix=GIGNORE %s
//
// G: "-cc1"
// G: "-g"
@@ -42,3 +42,5 @@
//
// GLTO_NO: "-cc1"
// GLTO_NO-NOT: "-gline-tables-only"
+//
+// GIGNORE-NOT: "argument unused during compilation"