[Groonga-mysql-commit] mroonga/mroonga [master] [test][wrapper] fix create table format. refs #1195

Back to archive index

null+****@clear***** null+****@clear*****
2011年 12月 27日 (火) 14:49:18 JST


Kouhei Sutou	2011-12-27 14:49:18 +0900 (Tue, 27 Dec 2011)

  New Revision: d0467b1c90af9104878994969fe7548a8aaf5661

  Log:
    [test][wrapper] fix create table format. refs #1195

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

  Modified: test/run-sql-test.sh (+2 -6)
===================================================================
--- test/run-sql-test.sh    2011-12-27 14:37:42 +0900 (0b21678)
+++ test/run-sql-test.sh    2011-12-27 14:49:18 +0900 (4bbd0a0)
@@ -93,15 +93,11 @@ fi
 if ! test -d "${groonga_wrapper_innodb_test_suite_dir}"; then
     cp -rp "${innodb_test_suite_dir}" "${groonga_wrapper_innodb_test_suite_dir}"
     ruby -i'' \
-	-pe "\$_.gsub!(/\bengine\s*=\s*innodb\b/i,
-                      \"ENGINE = groonga COMMENT = 'ENGINE \\\"InnoDB\\\"'\")
-            " \
-	${groonga_wrapper_innodb_test_suite_dir}/t/*.test
-    ruby -i'' \
 	-pe "\$_.gsub!(/\bengine\s*=\s*innodb\b([^;\\n]*)/i,
                       \"ENGINE=groonga\\\1 COMMENT='ENGINE \\\"InnoDB\\\"'\")
             " \
-	${groonga_wrapper_innodb_test_suite_dir}/r/*.result
+	${groonga_wrapper_innodb_test_suite_dir}/r/*.result \
+	${groonga_wrapper_innodb_test_suite_dir}/t/*.test
     sed -i'' \
 	-e '1 i --source include/have_groonga.inc' \
 	${groonga_wrapper_innodb_test_suite_dir}/t/*.test




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