2017-07-31 09:17:14 -04:00
|
|
|
#!/usr/bin/env ruby
|
|
|
|
|
|
|
|
gitaly_dir = 'tmp/tests/gitaly'
|
2017-11-30 07:58:51 -05:00
|
|
|
env = { 'HOME' => File.expand_path('tmp/tests') }
|
2017-07-31 09:17:14 -04:00
|
|
|
args = %W[#{gitaly_dir}/gitaly #{gitaly_dir}/config.toml]
|
|
|
|
|
|
|
|
# Print the PID of the spawned process
|
2017-11-30 07:58:51 -05:00
|
|
|
puts spawn(env, *args, [:out, :err] => 'log/gitaly-test.log')
|