scripts/check_test.sh
#!/bin/bash
echo "Test arguments are: ($1 $2 $3)"
if [ "$1" == "LONG" ] ; then
	echo 0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
	echo 0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
	echo 0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
	echo 0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
	echo 0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
	echo 0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
	echo 0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
	echo 0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
	echo 0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
	echo 0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
	echo 0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
fi
if [ "$1" == "CRIT" ] ; then exit 2 ; fi
if [ "$1" == "WARN" ] ; then exit 1 ; fi
if [ "$1" == "UNKNOWN" ] ; then exit 3 ; fi
exit 0
