diff options
Diffstat (limited to 'jdisc_core/src/test/perl/jdisc_logfmt_test.sh')
-rwxr-xr-x | jdisc_core/src/test/perl/jdisc_logfmt_test.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jdisc_core/src/test/perl/jdisc_logfmt_test.sh b/jdisc_core/src/test/perl/jdisc_logfmt_test.sh index bb7e92ed8cf..0166d33d8ab 100755 --- a/jdisc_core/src/test/perl/jdisc_logfmt_test.sh +++ b/jdisc_core/src/test/perl/jdisc_logfmt_test.sh @@ -4,10 +4,10 @@ MYPATH=`dirname ${0}` DIFF=/usr/bin/diff LOGFMT=${1} -if [ -e "/usr/local/bin/perl" ]; then +if which perl &> /dev/null; then echo "Running jdisc_logfmt test suite." else - echo "Ignoring jdisc_logfmt test suite as there is no /usr/local/bin/perl" + echo "Ignoring jdisc_logfmt test suite as there is no perl executable." exit 0 fi |