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_perl/20-run_perl_script.sh

11 lines
252 B

#!/bin/bash
# Author: Madhurranjan Mohaan <madhurranjan.mohaan@gmail.com>
t_Log "Running $0 - Testing perl by running it against a basic file"
echo 'print "helloworld perlpackage"' > testfile
perl testfile | grep -q helloworld
t_CheckExitStatus $?