10 lines
239 B
Bash
Executable File
10 lines
239 B
Bash
Executable File
#!/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
|