chiark / gitweb /
old-python: Delete python code
[hippotat.git] / test / go-with-unshare
1 #!/bin/bash
2 # Copyright 2021-2022 Ian Jackson and contributors to Hippotat
3 # SPDX-License-Identifier: GPL-3.0-or-later
4 # There is NO WARRANTY.
5
6 set -e
7 . "${0%/*}"/common
8
9 case "$1" in
10 */*) ;;
11 ?*) tname="$1"; shift; set -- "$test/$tname" "$@" ;;
12 '') fail 'bad usage: need program or test name' ;;
13 esac
14
15 $src/test/with-unshare "$@"