Blame tests/p_grep/13-test_grep.sh

root a59260
#!/bin/bash
root a59260
# Author: Ravi Kumar P <ravi.pasumarthy@gmail.com>, Anoop Hallur <anoophallur@gmail.com> 
root a59260
root a59260
# Check grep functionality with count of repititive words
root a59260
root a59260
t_Log "Running $0 - checking grep with count"
root a59260
root a59260
count=`echo -e "wow grep is working" | grep -c "wow"`
root a59260
t_Log $count
root a59260
root a59260
t_Assert_Equals $count 1