gitlab-org--gitlab-foss/scripts/gitaly-test-spawn

8 lines
208 B
Text
Raw Normal View History

2017-07-31 09:17:14 -04:00
#!/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')