toolkit/func/core/pkg_perl/11-test-perl-script.sh
2021-07-04 23:50:25 -07:00

6 lines
149 B
Bash
Executable File

#!/bin/bash
r_log "perl" "Test perl script"
echo 'print "Hello!"' > /var/tmp/perltest
perl /var/tmp/perltest | grep -q "Hello!"
r_checkExitStatus $?