mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-27 01:02:23 +01:00
10 lines
239 B
Plaintext
10 lines
239 B
Plaintext
|
|
#!/bin/sh
|
||
|
|
|
||
|
|
DIRNAME="$(dirname "$0")"
|
||
|
|
bwrap_path="$(command -v bwrap)"
|
||
|
|
if [ -n "$bwrap_path" ]; then
|
||
|
|
exec "$bwrap_path" --unshare-net --dev-bind / / "$DIRNAME/../tests/unit.test" "$@"
|
||
|
|
else
|
||
|
|
exec "$DIRNAME/../tests/unit.test" "$@"
|
||
|
|
fi
|