summaryrefslogtreecommitdiff
path: root/scripts/gitaly-test-spawn
blob: dd603eec7f6486cb56a80809b6e3cb0120f15194 (plain)
1
2
3
4
5
6
7
#!/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')