mirror of https://github.com/wolfSSL/wolfssl.git
13 lines
330 B
Bash
13 lines
330 B
Bash
#!/bin/sh
|
|
|
|
if [ "${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
|