mirror of
https://github.com/git/git
synced 2024-10-31 01:43:41 +00:00
11 lines
358 B
Text
11 lines
358 B
Text
|
JGIT_DAEMON_PID= &&
|
||
|
git init --bare empty.git &&
|
||
|
>empty.git/git-daemon-export-ok &&
|
||
|
mkfifo jgit_daemon_output &&
|
||
|
{
|
||
|
# LINT: exit status of "&" is always 0 so &&-chaining immaterial
|
||
|
jgit daemon --port="$JGIT_DAEMON_PORT" . >jgit_daemon_output &
|
||
|
JGIT_DAEMON_PID=$!
|
||
|
} &&
|
||
|
test_expect_code 2 git ls-remote --exit-code git://localhost:$JGIT_DAEMON_PORT/empty.git
|