[Groonga-commit] groonga/groonga [master] follow a change that shutdown and quit returns [true].

Back to archive index

null+****@clear***** null+****@clear*****
2010年 7月 6日 (火) 10:37:15 JST


Kouhei Sutou	2010-07-06 01:37:15 +0000 (Tue, 06 Jul 2010)

  New Revision: 5bbff3c312fe2db0b324b9080f922a4c3b210ab8

  Log:
    follow a change that shutdown and quit returns [true].

  Modified files:
    test/unit/command/test-config-file.rb
    test/unit/gqtp/test-cache.rb
    test/unit/gqtp/test-load.rb
    test/unit/gqtp/test-restore.rb

  Modified: test/unit/command/test-config-file.rb (+1 -1)
===================================================================
--- test/unit/command/test-config-file.rb    2010-07-05 08:53:01 +0000 (0944675)
+++ test/unit/command/test-config-file.rb    2010-07-06 01:37:15 +0000 (bc28914)
@@ -33,6 +33,6 @@ class ConfigFileTest < Test::Unit::TestCase
 
   def test_config_empty
     open(@config_path, "w") {|f|}
-    assert_equal("", run_groonga("-n", @database_path, "quit"))
+    assert_equal("[true]\n", run_groonga("-n", @database_path, "quit"))
   end
 end

  Modified: test/unit/gqtp/test-cache.rb (+2 -0)
===================================================================
--- test/unit/gqtp/test-cache.rb    2010-07-05 08:53:01 +0000 (0519a5e)
+++ test/unit/gqtp/test-cache.rb    2010-07-06 01:37:15 +0000 (e43e24a)
@@ -34,6 +34,7 @@ class CacheTest < Test::Unit::TestCase
 [true]
 [true]
 [1]
+[true]
 EXPECTED
 table_create --name Site --flags TABLE_HASH_KEY --key_type ShortText
 column_create --table Site --name title --flags COLUMN_SCALAR --type ShortText
@@ -48,6 +49,7 @@ COMMANDS
     expected= <<EXPECTED
 []
 []
+[true]
 EXPECTED
 
     commands = <<COMMANDS

  Modified: test/unit/gqtp/test-load.rb (+7 -0)
===================================================================
--- test/unit/gqtp/test-load.rb    2010-07-05 08:53:01 +0000 (2236064)
+++ test/unit/gqtp/test-load.rb    2010-07-06 01:37:15 +0000 (f948ae0)
@@ -32,6 +32,7 @@ class LoadTest < Test::Unit::TestCase
 [true]
 [2]
 [[[2],[["_id","UInt32"],["_key","ShortText"]],[2,"bash"],[1,"gcc"]]]
+[true]
 EXPECTED
 table_create commands 1 ShortText
 load --table commands
@@ -50,6 +51,7 @@ COMMANDS
 [true]
 [2]
 [[[2],[["_id","UInt32"],["_key","ShortText"],["body","ShortText"]],[2,"bash","a shell"],[1,"gcc","a compiler"]]]
+[true]
 EXPECTED
 table_create commands 1 ShortText
 column_create commands body 0 ShortText
@@ -70,6 +72,7 @@ COMMANDS
 [true]
 [2]
 [[[2],[["_id","UInt32"],["_key","ShortText"],["location","ShortText"],["body","ShortText"]],[2,"bash","/bin/bash","a shell"],[1,"gcc","/usr/bin/gcc","a compiler"]]]
+[true]
 EXPECTED
 table_create commands 1 ShortText
 column_create commands body 0 ShortText
@@ -91,6 +94,7 @@ COMMANDS
 [true]
 [2]
 [[[2],[["_id","UInt32"],["_key","ShortText"],["location","ShortText"],["body","ShortText"]],[2,"bash","/bin/bash","a shell"],[1,"gcc","/usr/bin/gcc","a compiler"]]]
+[true]
 EXPECTED
 table_create commands 1 ShortText
 column_create commands body 0 ShortText
@@ -110,6 +114,7 @@ COMMANDS
 [true]
 [2]
 [[[2],[["_id","UInt32"]],[1],[2]]]
+[true]
 EXPECTED
 table_create commands 3
 load --table commands
@@ -128,6 +133,7 @@ COMMANDS
 [true]
 [2]
 [[[2],[["_id","UInt32"],["body","ShortText"]],[1,\"a compiler\"],[2,\"a shell\"]]]
+[true]
 EXPECTED
 table_create commands 3
 column_create commands body 0 ShortText
@@ -148,6 +154,7 @@ COMMANDS
 [true]
 [2]
 [[[2],[["_id","UInt32"],["location","ShortText"],["body","ShortText"]],[1,"/usr/bin/gcc","a compiler"],[2,"/bin/bash","a shell"]]]
+[true]
 EXPECTED
 table_create commands 3
 column_create commands body 0 ShortText

  Modified: test/unit/gqtp/test-restore.rb (+2 -0)
===================================================================
--- test/unit/gqtp/test-restore.rb    2010-07-05 08:53:01 +0000 (0a2d769)
+++ test/unit/gqtp/test-restore.rb    2010-07-06 01:37:15 +0000 (bf8f430)
@@ -477,6 +477,7 @@ EOGQTP
 [3]
 [true]
 [[[2],[["_id","UInt32"],["_key","ShortText"]],[1,"hayamiz"],[3,"mori"]]]
+[true]
 EXPECTED
 table_create users 0 ShortText
 load --table users
@@ -497,6 +498,7 @@ COMMANDS
 [3]
 [true]
 [[[2],[["_id","UInt32"],["name","ShortText"]],[1,"hayamiz"],[3,"mori"]]]
+[true]
 EXPECTED
 table_create users 3
 column_create users name 0 ShortText




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