debian-mirror-gitlab/scripts/gitaly-test-spawn

8 lines
208 B
Text
Raw Normal View History

2017-09-10 17:25:29 +05:30
#!/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')