#! /bin/bash
#
# @file         simple-inverted-fail.bash
#               This test ensures that the simple driver is able to spot an inverted test
#               that is failing.
#
# @author       Wes Garland, wes@distributive.network
# @date         Apr 2023

cd `dirname "$0"`
echo "Running Peter from inside test..."
../../peter ../../tests-libexec/¬this-better-not-pass.simple
if [ "$?" = "0" ]; then
  exit 1
else
  exit 0
fi
