miroir de
https://github.com/wolfSSL/wolfssl.git
synchronisé 2025-01-18 21:24:54 +00:00
14 lignes
456 o
Bash
14 lignes
456 o
Bash
#!/bin/sh
|
|
|
|
if [ -n "$NETWORK_UNSHARE_HELPER" ]; then
|
|
exec "${NETWORK_UNSHARE_HELPER}" "@builddir@/tests/unit.test" "$@" || exit $?
|
|
elif [ "${AM_BWRAPPED-}" != "yes" ]; then
|
|
bwrap_path="$(command -v bwrap)"
|
|
if [ -n "$bwrap_path" ]; then
|
|
exec "$bwrap_path" --unshare-net --dev-bind / / "@builddir@/tests/unit.test" "$@"
|
|
else
|
|
exec "@builddir@/tests/unit.test" "$@"
|
|
fi
|
|
else
|
|
exec "@builddir@/tests/unit.test" "$@"
|
|
fi
|