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