Lines Matching +full:eq +full:- +full:level
45 # -------------------------------------------------------------------------
53 if [ -d ${Work_Dir} ]; then
58 [ ${Verbose} -eq 2 ] && err "Test ended unexpectedly"
59 [ ${Verbose} -eq 1 ] && echo " failed."
63 # -------------------------------------------------------------------------
74 # -------------------------------------------------------------------------
84 if [ $# -gt 0 ]; then
85 mount -t tmpfs "$@" tmpfs ${Work_Dir} || die
87 mount -t tmpfs tmpfs ${Work_Dir} || die
92 # -------------------------------------------------------------------------
99 [ ${Verbose} -gt 1 ] && echo " $*..."
102 # -------------------------------------------------------------------------
109 cd -
114 # -------------------------------------------------------------------------
124 test_name "Running kqueue-monitored commands and expecting" \
127 got=$(wc -l kqueue.log | awk '{ print $1 }')
128 test ${got} -eq ${nev}
131 # -------------------------------------------------------------------------
139 grep "^${1} - ${2}$" kqueue.log >/dev/null
142 # -------------------------------------------------------------------------
147 [ $(id -un) = root ] || err "Must be run as root"
150 if [ $? -ne 0 ]; then
151 echo "Usage: ${Prog_Name} [-u unprived_user] [-v level] " \
152 "[-w root_dir]" 1>&2
155 set -- ${args}
156 while [ $# -gt 0 ]; do
158 -u)
161 -v)
164 -w)
167 --)
174 [ ${Verbose} -eq 1 ] && echo -n "${Prog_Name}:"
175 [ ${Verbose} -eq 2 ] && echo "${Prog_Name}: Running tests"
177 [ ${Verbose} -eq 1 ] && echo " ok."
178 [ ${Verbose} -eq 2 ] && echo "${Prog_Name}: All tests were successful"