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

5 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 $?