1
0
mirror of https://passt.top/passt synced 2024-12-22 13:45:32 +00:00
passt/test/demo
Stefano Brivio a4778b3b81 test: In demos, use pgrep instead of pstree to find namespace PID
Parsing pstree's output is somewhat unreliable: there might be
multiple pasta instances running on the same host, and depending on
the overall output width pstree might truncate some branches.

Ask pasta to save its PID to file, and use that as parameter for
pgrep to find the PID of the interactive shell whose user and network
namespaces we want to join.

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
2022-07-22 19:41:18 +02:00
..
passt test: In demos, use pgrep instead of pstree to find namespace PID 2022-07-22 19:41:18 +02:00
pasta test: In demos, use pgrep instead of pstree to find namespace PID 2022-07-22 19:41:18 +02:00
podman tests: Explicitly list test files in test/run, remove "onlyfor" support 2022-07-14 01:32:42 +02:00