gitlab-org--gitlab-foss/scripts/gitaly-test-spawn
2017-08-01 10:48:46 +02:00

7 lines
208 B
Ruby
Executable file

#!/usr/bin/env ruby
gitaly_dir = 'tmp/tests/gitaly'
args = %W[#{gitaly_dir}/gitaly #{gitaly_dir}/config.toml]
# Print the PID of the spawned process
puts spawn(*args, [:out, :err] => 'log/gitaly-test.log')