diff --git a/plugins/accounting/accounting_ b/plugins/accounting/accounting_ old mode 100644 new mode 100755 diff --git a/plugins/apache/apache_average_time_last_n_requests b/plugins/apache/apache_average_time_last_n_requests old mode 100644 new mode 100755 diff --git a/plugins/apache/apache_byprojects/byprojects_access b/plugins/apache/apache_byprojects/byprojects_access old mode 100644 new mode 100755 diff --git a/plugins/apache/apache_byprojects/byprojects_bandwidth b/plugins/apache/apache_byprojects/byprojects_bandwidth old mode 100644 new mode 100755 diff --git a/plugins/apache/apache_byprojects/byprojects_inout_bandwidth b/plugins/apache/apache_byprojects/byprojects_inout_bandwidth old mode 100644 new mode 100755 diff --git a/plugins/apache/apache_vhosts/apache_logparser b/plugins/apache/apache_vhosts/apache_logparser old mode 100644 new mode 100755 diff --git a/plugins/apache/apache_vhosts/apache_pipelogger b/plugins/apache/apache_vhosts/apache_pipelogger old mode 100644 new mode 100755 diff --git a/plugins/apache/apache_vhosts/apache_vhosts b/plugins/apache/apache_vhosts/apache_vhosts old mode 100644 new mode 100755 diff --git a/plugins/apache/page_load b/plugins/apache/page_load old mode 100644 new mode 100755 diff --git a/plugins/arp/arp_bsd_ b/plugins/arp/arp_bsd_ old mode 100644 new mode 100755 diff --git a/plugins/dhcp/dhcpd-pools b/plugins/dhcp/dhcpd-pools old mode 100644 new mode 100755 diff --git a/plugins/disk/btrfs_subvol_usage b/plugins/disk/btrfs_subvol_usage old mode 100644 new mode 100755 diff --git a/plugins/disk/e2 b/plugins/disk/e2 old mode 100644 new mode 100755 diff --git a/plugins/disk/hdsentinel b/plugins/disk/hdsentinel old mode 100644 new mode 100755 diff --git a/plugins/disk/quota2percent_ b/plugins/disk/quota2percent_ old mode 100644 new mode 100755 diff --git a/plugins/djabberd/djabberd_ b/plugins/djabberd/djabberd_ old mode 100644 new mode 100755 diff --git a/plugins/dovecot/dovecot_stats_ b/plugins/dovecot/dovecot_stats_ old mode 100644 new mode 100755 diff --git a/plugins/drupal/drupal_page_speed_test.php b/plugins/drupal/drupal_page_speed_test.php old mode 100644 new mode 100755 diff --git a/plugins/dvb/2wcomdsr_ b/plugins/dvb/2wcomdsr_ old mode 100644 new mode 100755 diff --git a/plugins/freeradius/freeradius_queue b/plugins/freeradius/freeradius_queue old mode 100644 new mode 100755 diff --git a/plugins/games/game b/plugins/games/game old mode 100644 new mode 100755 diff --git a/plugins/glassfish/glassfish_counters_ b/plugins/glassfish/glassfish_counters_ old mode 100644 new mode 100755 diff --git a/plugins/icecast/icecast2_ b/plugins/icecast/icecast2_ old mode 100644 new mode 100755 diff --git a/plugins/icecast/icecast2_all b/plugins/icecast/icecast2_all old mode 100644 new mode 100755 diff --git a/plugins/jchkmail/jchkmail_counters_ b/plugins/jchkmail/jchkmail_counters_ old mode 100644 new mode 100755 diff --git a/plugins/jenkins/jenkins_ b/plugins/jenkins/jenkins_ old mode 100644 new mode 100755 diff --git a/plugins/mail/postfwd-rbl b/plugins/mail/postfwd-rbl old mode 100644 new mode 100755 diff --git a/plugins/mediawiki/mediawiki_api b/plugins/mediawiki/mediawiki_api old mode 100644 new mode 100755 diff --git a/plugins/memcached/memcached_servers_ b/plugins/memcached/memcached_servers_ old mode 100644 new mode 100755 diff --git a/plugins/minecraft/bukkit-jsonapi-players b/plugins/minecraft/bukkit-jsonapi-players old mode 100644 new mode 100755 diff --git a/plugins/minecraft/bukkit-jsonapi-ramusage b/plugins/minecraft/bukkit-jsonapi-ramusage old mode 100644 new mode 100755 diff --git a/plugins/minecraft/bukkit-jsonapi-tps b/plugins/minecraft/bukkit-jsonapi-tps old mode 100644 new mode 100755 diff --git a/plugins/minecraft/bukkit-statistician-killshostile b/plugins/minecraft/bukkit-statistician-killshostile old mode 100644 new mode 100755 diff --git a/plugins/minecraft/bukkit-statistician-killsneutral b/plugins/minecraft/bukkit-statistician-killsneutral old mode 100644 new mode 100755 diff --git a/plugins/minecraft/bukkit-statistician-killspassive b/plugins/minecraft/bukkit-statistician-killspassive old mode 100644 new mode 100755 diff --git a/plugins/minecraft/bukkit-statistician-players b/plugins/minecraft/bukkit-statistician-players old mode 100644 new mode 100755 diff --git a/plugins/minecraft/bukkit-ultrabans-shame b/plugins/minecraft/bukkit-ultrabans-shame old mode 100644 new mode 100755 diff --git a/plugins/minecraft/minecraft-users-ram_ b/plugins/minecraft/minecraft-users-ram_ old mode 100644 new mode 100755 diff --git a/plugins/mongodb/mongo_collection_ b/plugins/mongodb/mongo_collection_ old mode 100644 new mode 100755 diff --git a/plugins/moodle/moodle_files b/plugins/moodle/moodle_files old mode 100644 new mode 100755 diff --git a/plugins/moodle/moodle_logs b/plugins/moodle/moodle_logs old mode 100644 new mode 100755 diff --git a/plugins/moodle/moodle_mod_chat b/plugins/moodle/moodle_mod_chat old mode 100644 new mode 100755 diff --git a/plugins/moodle/moodle_mod_forum b/plugins/moodle/moodle_mod_forum old mode 100644 new mode 100755 diff --git a/plugins/moodle/moodle_mod_quiz b/plugins/moodle/moodle_mod_quiz old mode 100644 new mode 100755 diff --git a/plugins/moodle/moodle_modules_total b/plugins/moodle/moodle_modules_total old mode 100644 new mode 100755 diff --git a/plugins/moodle/moodle_users_online b/plugins/moodle/moodle_users_online old mode 100644 new mode 100755 diff --git a/plugins/moodle/moodle_users_total b/plugins/moodle/moodle_users_total old mode 100644 new mode 100755 diff --git a/plugins/mysql/hs_read b/plugins/mysql/hs_read old mode 100644 new mode 100755 diff --git a/plugins/mysql/hs_write b/plugins/mysql/hs_write old mode 100644 new mode 100755 diff --git a/plugins/network/ddclient b/plugins/network/ddclient old mode 100644 new mode 100755 diff --git a/plugins/network/multibandwidth b/plugins/network/multibandwidth old mode 100644 new mode 100755 diff --git a/plugins/network/ubiquiti_airfiber_ b/plugins/network/ubiquiti_airfiber_ old mode 100644 new mode 100755 diff --git a/plugins/network/ubiquiti_airos_ b/plugins/network/ubiquiti_airos_ old mode 100644 new mode 100755 diff --git a/plugins/nfs-freebsd/nfs_client b/plugins/nfs-freebsd/nfs_client old mode 100644 new mode 100755 diff --git a/plugins/nfs-freebsd/nfs_client_cache b/plugins/nfs-freebsd/nfs_client_cache old mode 100644 new mode 100755 diff --git a/plugins/percona/percona_ b/plugins/percona/percona_ old mode 100644 new mode 100755 diff --git a/plugins/pf/pf_tables_ b/plugins/pf/pf_tables_ old mode 100644 new mode 100755 diff --git a/plugins/php/php_errors_ b/plugins/php/php_errors_ old mode 100644 new mode 100755 diff --git a/plugins/php/php_opcache.php b/plugins/php/php_opcache.php old mode 100644 new mode 100755 diff --git a/plugins/php/php_time_execution b/plugins/php/php_time_execution old mode 100644 new mode 100755 diff --git a/plugins/postgresql/postgres_tuplesratio_ b/plugins/postgresql/postgres_tuplesratio_ old mode 100644 new mode 100755 diff --git a/plugins/power/eatonups_ b/plugins/power/eatonups_ old mode 100644 new mode 100755 diff --git a/plugins/power/upsmonpro_ b/plugins/power/upsmonpro_ old mode 100644 new mode 100755 diff --git a/plugins/printer/snmp__hpclj b/plugins/printer/snmp__hpclj old mode 100644 new mode 100755 diff --git a/plugins/prosody/prosody_ b/plugins/prosody/prosody_ old mode 100644 new mode 100755 diff --git a/plugins/puma/puma_ b/plugins/puma/puma_ old mode 100644 new mode 100755 diff --git a/plugins/rackspace/rackspace_cdn_count.php b/plugins/rackspace/rackspace_cdn_count.php old mode 100644 new mode 100755 diff --git a/plugins/rackspace/rackspace_cdn_size.php b/plugins/rackspace/rackspace_cdn_size.php old mode 100644 new mode 100755 diff --git a/plugins/rethinkdb/rethinkdb_node_io b/plugins/rethinkdb/rethinkdb_node_io old mode 100644 new mode 100755 diff --git a/plugins/riak/riak_fsm_time_95 b/plugins/riak/riak_fsm_time_95 old mode 100644 new mode 100755 diff --git a/plugins/router/snmp__cisco_sbs_cpu b/plugins/router/snmp__cisco_sbs_cpu old mode 100644 new mode 100755 diff --git a/plugins/sabnzbd/sabnzbd_dataleft b/plugins/sabnzbd/sabnzbd_dataleft old mode 100644 new mode 100755 diff --git a/plugins/sabnzbd/sabnzbd_speed b/plugins/sabnzbd/sabnzbd_speed old mode 100644 new mode 100755 diff --git a/plugins/security/fail2ban_ b/plugins/security/fail2ban_ old mode 100644 new mode 100755 diff --git a/plugins/senderscore/senderscore b/plugins/senderscore/senderscore old mode 100644 new mode 100755 diff --git a/plugins/sendmail/sendmail_mailq b/plugins/sendmail/sendmail_mailq old mode 100644 new mode 100755 diff --git a/plugins/sensors/voltcraft_tcm220_ b/plugins/sensors/voltcraft_tcm220_ old mode 100644 new mode 100755 diff --git a/plugins/sge/sge_queue_xml_ b/plugins/sge/sge_queue_xml_ old mode 100644 new mode 100755 diff --git a/plugins/smf/smf_errors b/plugins/smf/smf_errors old mode 100644 new mode 100755 diff --git a/plugins/smf/smf_mail_queue b/plugins/smf/smf_mail_queue old mode 100644 new mode 100755 diff --git a/plugins/smf/smf_online b/plugins/smf/smf_online old mode 100644 new mode 100755 diff --git a/plugins/smf/smf_stats b/plugins/smf/smf_stats old mode 100644 new mode 100755 diff --git a/plugins/snmp/snmp__airport b/plugins/snmp/snmp__airport old mode 100644 new mode 100755 diff --git a/plugins/snmp/snmp__cyberpower b/plugins/snmp/snmp__cyberpower old mode 100644 new mode 100755 diff --git a/plugins/synology/snmp__synology_hddtemp b/plugins/synology/snmp__synology_hddtemp old mode 100644 new mode 100755 diff --git a/plugins/synology/snmp__synology_temperature b/plugins/synology/snmp__synology_temperature old mode 100644 new mode 100755 diff --git a/plugins/synology/snmp__synology_ups b/plugins/synology/snmp__synology_ups old mode 100644 new mode 100755 diff --git a/plugins/syslog/syslog_ng_stats b/plugins/syslog/syslog_ng_stats old mode 100644 new mode 100755 diff --git a/plugins/unicorn/unicorn_ b/plugins/unicorn/unicorn_ old mode 100644 new mode 100755 diff --git a/plugins/uwsgi/uwsgi_ b/plugins/uwsgi/uwsgi_ old mode 100644 new mode 100755 diff --git a/plugins/varnish/varnish4_ b/plugins/varnish/varnish4_ old mode 100644 new mode 100755 diff --git a/plugins/vbulletin/vbulletin4_users b/plugins/vbulletin/vbulletin4_users old mode 100644 new mode 100755 diff --git a/plugins/virtualbox/virtualbox_cpu_kernel b/plugins/virtualbox/virtualbox_cpu_kernel old mode 100644 new mode 100755 diff --git a/plugins/virtualbox/virtualbox_cpu_user b/plugins/virtualbox/virtualbox_cpu_user old mode 100644 new mode 100755 diff --git a/plugins/virtualbox/virtualbox_ram_usage b/plugins/virtualbox/virtualbox_ram_usage old mode 100644 new mode 100755 diff --git a/plugins/voldemort/voldemort b/plugins/voldemort/voldemort old mode 100644 new mode 100755 diff --git a/plugins/wordpress/wordpress2 b/plugins/wordpress/wordpress2 old mode 100644 new mode 100755 diff --git a/t/test.t b/t/test.t index 7f2b5fc9..86b76b95 100644 --- a/t/test.t +++ b/t/test.t @@ -48,7 +48,14 @@ sub process_file { my ( $file, $filename, $interpreter, $arguments ) = @_; use v5.10.1; - if ( $interpreter =~ m{/bin/sh} ) { + if ( ! -x $file ) { + # missing executable flag + diag( + sprintf("\nFile '%s' lacks executable permission bits. Maybe try 'chmod +x $file'?\n", + $file) + ); + } + elsif ( $interpreter =~ m{/bin/sh} ) { subtest $filename => sub { plan tests => 2; run_check(