Files
wolfssl/scripts/unit.test.in
T

15 lines
456 B
Bash
Raw Normal View History

2021-02-05 10:40:31 -08:00
#!/bin/sh
if [ -n "$NETWORK_UNSHARE_HELPER" ]; then
exec "${NETWORK_UNSHARE_HELPER}" "@builddir@/tests/unit.test" "$@" || exit $?
elif [ "${AM_BWRAPPED-}" != "yes" ]; then
2022-02-10 15:54:39 -06:00
bwrap_path="$(command -v bwrap)"
if [ -n "$bwrap_path" ]; then
exec "$bwrap_path" --unshare-net --dev-bind / / "@builddir@/tests/unit.test" "$@"
2022-02-10 15:54:39 -06:00
else
exec "@builddir@/tests/unit.test" "$@"
2022-02-10 15:54:39 -06:00
fi
2021-02-05 10:40:31 -08:00
else
exec "@builddir@/tests/unit.test" "$@"
2021-02-05 10:40:31 -08:00
fi