#!/usr/bin/env bats -*- bats -*- # # test to make sure we use the correct podman pause process # load helpers function _check_pause_process() { pause_pid= if [[ -z "$pause_pid_file" ]]; then return fi test -e $pause_pid_file || die "Pause pid file $pause_pid_file missing" # do not mark this variable as local; our parent expects it pause_pid=$(<$pause_pid_file) test -d /proc/$pause_pid || die "Pause process $pause_pid (from $pause_pid_file) is not running" assert "$(