aboutgitcodebugslistschat
path: root/test/demo/podman
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2022-07-21 13:53:21 +0200
committerStefano Brivio <sbrivio@redhat.com>2022-07-22 19:41:18 +0200
commita4778b3b8194d8ac9443661c5d150a739b8e7eca (patch)
tree32f9ae4a36d6ae49a41ac311654b0f2f604d3d9b /test/demo/podman
parent95f7b4ec3fb9cf6f080067fa25300eb22b00181b (diff)
downloadpasst-a4778b3b8194d8ac9443661c5d150a739b8e7eca.tar
passt-a4778b3b8194d8ac9443661c5d150a739b8e7eca.tar.gz
passt-a4778b3b8194d8ac9443661c5d150a739b8e7eca.tar.bz2
passt-a4778b3b8194d8ac9443661c5d150a739b8e7eca.tar.lz
passt-a4778b3b8194d8ac9443661c5d150a739b8e7eca.tar.xz
passt-a4778b3b8194d8ac9443661c5d150a739b8e7eca.tar.zst
passt-a4778b3b8194d8ac9443661c5d150a739b8e7eca.zip
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>
Diffstat (limited to 'test/demo/podman')
0 files changed, 0 insertions, 0 deletions