Blob Blame History Raw
#!/bin/bash
# Author: Steve Barnes (steve@echo.id.au)

t_Log "Running $0 - checking strace runs and returns non-zero exit status."

STRACE=`which strace`

[ "$STRACE" ] || { t_Log "Failed to find strace. Cannot continue."; exit $FAIL; }

$STRACE ls &>/dev/null

[ $? -eq 0 ] || { t_Log "Strace exited with non-zero status. That ain't good..."; exit $FAIL; }