]> git.ipfire.org Git - thirdparty/git.git/blob - t/chainlint/chain-break-background.test
Merge branch 'jk/clone-allow-bare-and-o-together'
[thirdparty/git.git] / t / chainlint / chain-break-background.test
1 JGIT_DAEMON_PID= &&
2 git init --bare empty.git &&
3 >empty.git/git-daemon-export-ok &&
4 mkfifo jgit_daemon_output &&
5 {
6 # LINT: exit status of "&" is always 0 so &&-chaining immaterial
7 jgit daemon --port="$JGIT_DAEMON_PORT" . >jgit_daemon_output &
8 JGIT_DAEMON_PID=$!
9 } &&
10 test_expect_code 2 git ls-remote --exit-code git://localhost:$JGIT_DAEMON_PORT/empty.git