Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitaly-test-spawn « scripts - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ecb68c6acc616eb58d28a86b2511c1869fa0d750 (plain)
1
2
3
4
5
6
7
8
9
#!/usr/bin/env ruby

gitaly_dir = 'tmp/tests/gitaly'
env = { 'HOME' => File.expand_path('tmp/tests'),
        'GEM_PATH' => Gem.path.join(':') }
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')