8 lines
263 B
Ruby
Executable file
8 lines
263 B
Ruby
Executable file
#!/usr/bin/env ruby
|
|
|
|
gitaly_dir = 'tmp/tests/gitaly'
|
|
env = { 'HOME' => File.expand_path('tmp/tests') }
|
|
args = %W[#{gitaly_dir}/gitaly #{gitaly_dir}/config.toml]
|
|
|
|
# Print the PID of the spawned process
|
|
puts spawn(env, *args, [:out, :err] => 'log/gitaly-test.log')
|