#!/bin/bash

# This test is designed to run the wrapper script against a target that is known
# to fail a check.
result=$(ci/runners/asan ci/runners/memory_leak_test 2>&1)
# Ensure we see LeakSanitizer in the output.
if [[ $result = *"LeakSanitizer"* ]]; then
  exit 0
else
  echo Output missing
  echo $result
  exit 1
fi
