projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Shorter paths to PID files in integration tests
[tinc]
/
test
/
integration
/
cmd_misc.py
diff --git
a/test/integration/cmd_misc.py
b/test/integration/cmd_misc.py
index
84c5b6b
..
5a8a973
100755
(executable)
--- a/
test/integration/cmd_misc.py
+++ b/
test/integration/cmd_misc.py
@@
-121,7
+121,7
@@
def test_pid(foo: Tinc) -> None:
check.is_in("Too many arguments", err)
log.info("test pid without arguments")
check.is_in("Too many arguments", err)
log.info("test pid without arguments")
- pidfile = util.read_text(foo.
sub("pid")
)
+ pidfile = util.read_text(foo.
pid_file
)
pid, _ = pidfile.split(maxsplit=1)
out, _ = foo.cmd("pid")
pid, _ = pidfile.split(maxsplit=1)
out, _ = foo.cmd("pid")