Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

removed spec scripts from gem binaries

  • Loading branch information...
commit 67eacb36245485f7a6628fe5e4b07829d2e8f847 1 parent 2cd918e
@purzelrakete purzelrakete authored
View
10 bin/lhm-spec-clobber
@@ -1,10 +0,0 @@
-#!/usr/bin/env ruby
-
-require 'open3'
-
-bindir = File.dirname(File.expand_path(__FILE__))
-script = File.join(bindir, File.basename($0) + ".sh 2>&1")
-
-Open3.popen3(script) do |input, output|
- output.each { |line| print(line) }
-end
View
4 bin/lhm-spec-clobber.sh
@@ -21,7 +21,7 @@ echo removing $basedir
rm -rf "$basedir"
echo setting up cluster
-lhm-spec-setup-cluster
+bin/lhm-spec-setup-cluster.sh
echo staring instances
"$mysqldir"/bin/mysqld --defaults-file="$basedir/master/my.cnf" 2>&1 >$basedir/master/lhm.log &
@@ -29,7 +29,7 @@ echo staring instances
sleep 5
echo running grants
-lhm-spec-grants
+bin/lhm-spec-grants.sh
trap lhmkill SIGTERM SIGINT
View
10 bin/lhm-spec-grants
@@ -1,10 +0,0 @@
-#!/usr/bin/env ruby
-
-require 'open3'
-
-bindir = File.dirname(File.expand_path(__FILE__))
-script = File.join(bindir, File.basename($0) + ".sh 2>&1")
-
-Open3.popen3(script) do |input, output|
- output.each { |line| print(line) }
-end
View
10 bin/lhm-spec-setup-cluster
@@ -1,10 +0,0 @@
-#!/usr/bin/env ruby
-
-require 'open3'
-
-bindir = File.dirname(File.expand_path(__FILE__))
-script = File.join(bindir, File.basename($0) + ".sh 2>&1")
-
-Open3.popen3(script) do |input, output|
- output.each { |line| print(line) }
-end
View
7 lhm.gemspec
@@ -17,12 +17,7 @@ Gem::Specification.new do |s|
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.require_paths = ["lib"]
- s.executables = [
- "lhm-spec-clobber",
- "lhm-spec-grants",
- "lhm-spec-setup-cluster",
- "lhm-kill-queue"
- ]
+ s.executables = ["lhm-kill-queue"]
# this should be a real dependency, but we're using a different gem in our code
s.add_development_dependency "mysql", "~> 2.8.1"
View
6 spec/README.md
@@ -16,7 +16,7 @@ directory master and slave databases will get installed into.
# setup
You can set the integration specs up to run against a master slave setup by
-running the included `lhm-spec-clobber` script. this deletes the configured
+running the included `bin/lhm-spec-clobber.sh` script. this deletes the configured
lhm master slave setup and reinstalls and configures a master slave setup.
Follow the manual instructions if you want more control over this process.
@@ -25,7 +25,7 @@ Follow the manual instructions if you want more control over this process.
## set up instances
- lhm-spec-setup-cluster
+ bin/lhm-spec-setup-cluster.sh
## start instances
@@ -35,7 +35,7 @@ Follow the manual instructions if you want more control over this process.
## run the grants
- lhm-spec-grants
+ bin/lhm-spec-grants.sh
## run specs
Please sign in to comment.
Something went wrong with that request. Please try again.