aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrancis <francis>2009-09-20 12:17:31 +0000
committerfrancis <francis>2009-09-20 12:17:31 +0000
commitc0f6c1967cfd5546faaf112e1b724c95efc8a972 (patch)
treefb18311b08475524efeae25dc72c57789888e426
parent8f984e4f843485c1bbde6b2c5337fbb86270ecc3 (diff)
Give better error report when launching Xapian reindex goes wrong.
-rw-r--r--spec/spec_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 23538ebd5..d79b36f94 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -39,7 +39,7 @@ end
def rebuild_xapian_index
rebuild_name = File.dirname(__FILE__) + '/../script/rebuild-xapian-index'
- Kernel.system(rebuild_name) or raise "failed to launch rebuild-xapian-index"
+ Kernel.system(rebuild_name) or raise "failed to launch #{rebuild_name}, error bitcode #{$?}, exit status: #{$?.exitstatus}"
end
# Validate an entire HTML page