Lines Matching +full:script +full:- +full:output
31 SCRIPT=$1; shift
36 if [ -s $STD_ERR ]; then
37 ts_err "${SCRIPT}: ${DESC} failed:"
39 ts_err "stderr output:"
41 if [ -s $STD_OUT ]; then
42 ts_err "stdout output:"
45 elif [ -s $STD_OUT ]; then
46 echo "${SCRIPT}: ${DESC} succeeded with output:"
49 echo "${SCRIPT}: ${DESC} succeeded"
55 SCRIPT=$1; shift
61 if [ -s $STD_ERR ] || [ "$RET" != "0" ]; then
62 ts_err "${SCRIPT}: ${DESC} failed:"
64 ts_err "stderr output:"
66 if [ -s $STD_OUT ]; then
67 ts_err "stdout output:"
70 elif [ -s $STD_OUT ]; then
71 echo "${SCRIPT}: ${DESC} succeeded with output:"
74 echo "${SCRIPT}: ${DESC} succeeded"
90 echo "dev-$(tr -dc "[:alpha:]" < /dev/urandom | head -c 6)"
106 echo -n "test on: \"$1\""
107 if cat "$STD_OUT" | grep -qE "$1"
117 echo -n "test on: \"$1\""
118 if cat "$STD_OUT" | grep -vqE "$1"
128 echo -n "test on lines count ($1): "
129 if cat "$STD_OUT" | wc -l | grep -q "$1"