toolkit/func/core/pkg_perl/11-test-perl-script.sh

6 lines
149 B
Bash
Raw Permalink Normal View History

2021-07-05 06:50:25 +00:00
#!/bin/bash
r_log "perl" "Test perl script"
echo 'print "Hello!"' > /var/tmp/perltest
perl /var/tmp/perltest | grep -q "Hello!"
r_checkExitStatus $?