unit.test.in 211 B

12345678
  1. #!/bin/sh
  2. bwrap_path="$(command -v bwrap)"
  3. if [ -n "$bwrap_path" ]; then
  4. exec "$bwrap_path" --unshare-net --dev-bind / / "@builddir@/tests/unit.test" "$@"
  5. else
  6. exec "@builddir@/tests/unit.test" "$@"
  7. fi