#!/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
*/*) ;;
?*) tname="$1"; shift; set -- "$test/$tname" "$@" ;;
'') fail 'bad usage: need program or test name' ;;
esac

$src/test/with-unshare "$@"
