#!/bin/bash # Copyright 2021-2022 Ian Jackson and contributors to Hippotat # SPDX-License-Identifier: GPL-3.0-or-later WITH LicenseRef-Hippotat-OpenSSL-Exception # There is NO WARRANTY. set -e . "${0%/*}"/tcommon #case "$1" in #T/*) prog="$src/test/${1#T/}"; shift; set -- "$prog" "$@" ;; #esac unshare -Urnm bash -xec ' mount -t tmpfs tmpfs /run PATH="$PATH:/usr/local/sbin:/sbin:/usr/sbin" exec "$@" ' x "$@"