================
Comment at: test/cpp11-migrate/HeaderReplacements/main.cpp:14
@@ -14,1 +13,3 @@
+// RUN: sed -e 's#$(path)#%t/Test#g' %S/common.h.yaml > 
%t/Test/main.cpp_common.h.yaml
+// RUN: sed -i -e 's#\\#/#g' %t/Test/main.cpp_common.h_*.yaml
 // RUN: diff -b %t/Test/main.cpp_common.h.yaml %t/Test/main.cpp_common.h_*.yaml
----------------
Since you're already using `-e` just merge these two sed commands together:

  sed -e 's#$(path)#%t/Test#g' -e 's#\\#/#g' ...

Can apply this below as well to simplify the script.


http://llvm-reviews.chandlerc.com/D1381

BRANCH
  svn

ARCANIST PROJECT
  clang-tools-extra
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to