For PR1319:
Fix syntax of tests to ensure grep pattern is properly quoted.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36134 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/TableGen/DagDefSubst.ll b/test/TableGen/DagDefSubst.ll
index a9cd59b..e5eebe9 100644
--- a/test/TableGen/DagDefSubst.ll
+++ b/test/TableGen/DagDefSubst.ll
@@ -1,5 +1,5 @@
-// RUN: tblgen %s | grep 'dag d = (X Y)' &&
-// RUN: tblgen %s | grep 'dag e = (Y X)'
+// RUN: tblgen %s | grep {dag d = (X Y)}
+// RUN: tblgen %s | grep {dag e = (Y X)}
def X;
class yclass;