debian-mirror-gitlab/scripts/gitaly-test-spawn
2017-09-10 17:25:29 +05:30

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')