sandboxed-api/sandboxed_api/sandbox2/examples/static/static_sandbox_test.sh
Christian Blichmann 98e590463b Internal change
PiperOrigin-RevId: 400144449
Change-Id: Ic0cbd6a3b27012cfb406694bdf2944a5b9905580
2021-10-04 07:18:06 -07:00

13 lines
280 B
Bash
Executable File

#!/bin/bash
# Unit test for static_sandbox example.
source googletest.sh || exit 1
[[ -n "$COVERAGE" ]] && exit 0
BIN=$TEST_SRCDIR/com_google_sandboxed_api/sandboxed_api/sandbox2/examples/static/static_sandbox
"$BIN" || die 'FAILED: it should have exited with 0'
echo 'PASS'