[Groonga-mysql-commit] mroonga/mroonga [master] wrapper innodb test: add missing escapes

Back to archive index

null+****@clear***** null+****@clear*****
2012年 3月 18日 (日) 19:01:15 JST


Kouhei Sutou	2012-03-18 19:01:15 +0900 (Sun, 18 Mar 2012)

  New Revision: 0da1170bddd1e93d14853b5b6b8def9496fd29ad

  Log:
    wrapper innodb test: add missing escapes
    
    refs #1195

  Modified files:
    test/run-sql-test.sh

  Modified: test/run-sql-test.sh (+2 -2)
===================================================================
--- test/run-sql-test.sh    2012-03-18 18:42:23 +0900 (2f45656)
+++ test/run-sql-test.sh    2012-03-18 19:01:15 +0900 (3d103c5)
@@ -93,9 +93,9 @@ fi
 if ! test -d "${mroonga_wrapper_innodb_test_suite_dir}"; then
     cp -rp "${innodb_test_suite_dir}" "${mroonga_wrapper_innodb_test_suite_dir}"
     ruby -i'' \
-	-pe "\$_.gsub!(/\bengine\s*=\s*innodb\b([^;\\n]*)/i,
+	-pe "\$_.gsub!(/\\bengine\\s*=\\s*innodb\\b([^;\\n]*)/i,
                       \"ENGINE=mroonga\\\1 COMMENT='ENGINE \\\"InnoDB\\\"'\")
-             \$_.gsub!(/\b(storage_engine\s*=\s*)innodb\b([^;\\n]*)/i,
+             \$_.gsub!(/\\b(storage_engine\\s*=\\s*)innodb\\b([^;\\n]*)/i,
                       \"\\\1mroonga\")
             " \
 	${mroonga_wrapper_innodb_test_suite_dir}/r/*.result \




Groonga-mysql-commit メーリングリストの案内
Back to archive index