diff --git a/tests/p_perl/20-run_perl_script.sh b/tests/p_perl/20-run_perl_script.sh
index c1ee3c6..856b6ae 100755
--- a/tests/p_perl/20-run_perl_script.sh
+++ b/tests/p_perl/20-run_perl_script.sh
@@ -5,6 +5,6 @@
 t_Log "Running $0 - Testing perl by running it against a basic file"
 
 echo 'print "helloworld perlpackage"' > testfile
-perl testfile
+perl testfile | grep -q helloworld
 
 t_CheckExitStatus $?