Unit test: Don't return ok if leaks are detected

This commit is contained in:
Raúl Marín 2024-08-02 16:09:43 +02:00
parent e5cf376c4f
commit 86bab5a78a

View File

@ -1,6 +1,9 @@
#!/bin/bash
set -x
# Need to keep error from tests after `tee`. Otherwise we don't alert on asan errors
set -o pipefail
set -e
if [ "$#" -ne 1 ]; then
echo "Expected exactly one argument"