You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
QA/tests/p_grep/11-test_grep.sh

10 lines
245 B

#!/bin/bash
# Author: Ravi Kumar P <ravi.pasumarthy@gmail.com>, Anoop Hallur <anoophallur@gmail.com>
# Check grep functionality
t_Log "Running $0 - checking grep functionality"
echo "wow grep is working" | grep -q "wow"
t_CheckExitStatus $?