mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 00:14:35 +03:00
9473b6e676
If the daemons die while the tests are still running, we'll get additional "killed!" messages, making the test fail.
13 lines
232 B
Bash
Executable File
13 lines
232 B
Bash
Executable File
#!/bin/sh
|
|
|
|
hg init test
|
|
cd test
|
|
|
|
echo % Without -v
|
|
hg serve -a localhost -p 20063 -d --pid-file=hg.pid
|
|
cat hg.pid >> "$DAEMON_PIDS"
|
|
|
|
echo % With -v
|
|
hg serve -a localhost -p 20064 -d --pid-file=hg.pid -v
|
|
cat hg.pid >> "$DAEMON_PIDS"
|