rex/sample/components/fail.bash

7 lines
141 B
Bash
Executable File

#!/usr/bin/env bash
echo "Failure handling test."
echo "This test will fail on purpose."
>&2 echo "This test is printing to stderr."
exit 1