inspec/test/unit/mock/cmd
Clinton Wolfe be91550343
windows_task: Fix handling of multiple triggers (#4242)
windows_task: Fix handling of multiple triggers
2019-07-29 13:00:16 -04:00
..
$env-computername add unit tests 2016-09-09 12:43:03 +02:00
$env-PATH Add Windows support to the os_env resource 2015-11-19 15:41:00 +01:00
adsigroups Enhance groups resource with members property (#3029) 2018-05-31 13:37:44 -04:00
adsiusers fetch user groups while building user object 2017-04-20 16:02:21 +02:00
apk-info-grep-git Add Alpine package provider (#3215) 2018-07-19 15:07:36 -04:00
auditctl auditd resource: test active auditd configuration against the audit daemon (#2133) 2017-09-18 21:47:18 +02:00
auditctl-legacy auditd_rules: teach old dog new tricks 2016-02-09 11:51:52 +01:00
auditctl-s auditd_rules: status querying (old/new) and unit tests 2016-02-09 11:51:52 +01:00
auditpol add unit test for audit_policy resource 2015-09-21 14:09:16 +02:00
bash -c type psql New postgres_ident_conf resource (#1963) 2017-07-03 20:01:40 +02:00
bash-c-type-curl new resource: elasticsearch resource, test cluster/node state (#2261) 2017-10-20 17:28:48 -04:00
bash-c-type-nginx nginx resource: audit the nginx binary and how it was compiled (#1958) 2017-09-13 08:15:09 -04:00
brew-info--json-v1-curl Mock 'brew info --json=v1 curl' to facilitate unit testing the package resource for the darwin platform 2017-01-02 17:57:20 +01:00
brew-info--json-v1-nginx package resource: Fix brew package detection (#2730) 2018-02-23 09:01:14 -05:00
brew-info-jq add mock resources for package resource 2015-09-22 02:15:41 +02:00
chage-l-root return password expiry information for linux 2015-10-05 11:50:49 +02:00
choco-list-nssm New Resource: Chocolatey Package (#2793) 2018-04-05 08:54:27 -04:00
crontab-foouser Adding new crontab resource 2017-02-10 09:33:31 -05:00
crontab-root Adding new crontab resource 2017-02-10 09:33:31 -05:00
crontab-special Support special cases for crontab resource 2017-06-06 15:12:12 +02:00
df-t update helpers and mocks so tests run successfully 2019-02-06 14:01:04 -05:00
dig-A-example.com Fix host resolution on Darwin, use dig wherever possible (#1986) 2017-07-05 10:45:30 -04:00
dig-AAAA-example.com Fix host resolution on Darwin, use dig wherever possible (#1986) 2017-07-05 10:45:30 -04:00
dism-iis-webserver Remove all leading newlines. 2019-05-31 11:43:44 -07:00
docker-images Fix docker_container.tag to properly fetch from image name (#2052) 2017-08-10 14:57:45 +02:00
docker-info Docker resource (#1566) 2017-04-24 10:47:03 -04:00
docker-inspec Docker resource (#1566) 2017-04-24 10:47:03 -04:00
docker-plugin-ls Adding docker plugin support (#3074) 2018-08-09 08:20:32 -04:00
docker-ps-a Fix labels on Docker containers (#3673) 2018-12-20 12:31:13 -05:00
docker-service-ls Docker Swarm service resource (#2456) 2018-01-23 12:30:14 -08:00
docker-version Docker resource (#1566) 2017-04-24 10:47:03 -04:00
dpkg-query-W packages resource: Add architectures support (#2469) 2018-01-25 23:57:34 -08:00
dpkg-s-curl add mock resources for package resource 2015-09-22 02:15:41 +02:00
dpkg-s-held-package Properly handle held packages on dpkg-flavored OS (#2087) 2017-08-18 17:29:23 +02:00
dscacheutil-query-group Add support for Darwin Directory Service groups (#2403) 2017-12-20 16:57:45 +01:00
dscl add tests for user resource 2015-10-05 11:50:49 +02:00
elasticsearch-cluster-auth new resource: elasticsearch resource, test cluster/node state (#2261) 2017-10-20 17:28:48 -04:00
elasticsearch-cluster-no-ssl new resource: elasticsearch resource, test cluster/node state (#2261) 2017-10-20 17:28:48 -04:00
elasticsearch-cluster-nodes-default new resource: elasticsearch resource, test cluster/node state (#2261) 2017-10-20 17:28:48 -04:00
elasticsearch-cluster-url new resource: elasticsearch resource, test cluster/node state (#2261) 2017-10-20 17:28:48 -04:00
env api: don't force root on os_env 2015-11-13 12:10:22 +01:00
etc-apt add test coverage for apt 2015-10-10 23:28:03 +02:00
find-apache2-conf-enabled [resources/apache_conf]: add tests, fix bug 2015-12-07 10:50:48 +01:00
find-apache2-conf-enabled-link Added unit tests for apache_conf inclusion of symlinked files. 2017-02-24 16:13:22 +11:00
find-apache2-ports-conf [resources/apache_conf]: add tests, fix bug 2015-12-07 10:50:48 +01:00
find-etc-rc-d-name-S service resource: attempt a SysV fallback if SystemD unit file is not found (#2473) 2018-01-23 12:34:47 -08:00
find-httpd-conf-enabled-link Added unit tests for apache_conf inclusion of symlinked files. 2017-02-24 16:13:22 +11:00
find-httpd-ssl-conf added unit tests 2016-09-02 21:55:28 -04:00
find-httpd-status-conf In ApacheConf#include_files, check for abs paths 2016-09-20 09:11:09 -04:00
find-net-interface introduce better network interface abstraction, add test cases 2015-10-08 13:01:50 +02:00
find-nginx-conf Add wildcard/multiple server support to nginx_conf resource (#2141) 2017-09-15 16:37:57 -04:00
find-nginx-confd-multiple-conf nginx_conf: Fix commented/empty file parsing 2019-06-17 21:57:26 -08:00
find-nginx-mime-types Add wildcard/multiple server support to nginx_conf resource (#2141) 2017-09-15 16:37:57 -04:00
find-nginx-proxy-conf Add wildcard/multiple server support to nginx_conf resource (#2141) 2017-09-15 16:37:57 -04:00
find-nginx-quotesd-example-conf nginx_conf resource: Fix include paths with quotes (#2726) 2018-05-03 09:53:20 -04:00
find-xinetd.d Fix xinetd parsing of services from the same file. Expose resource.protocols 2017-01-31 12:40:29 +00:00
firewall-cmd firewalld resource: inspect the status and configuration of firewalld (#2074) 2017-09-27 14:05:35 +02:00
firewall-cmd--get-active-zones firewalld resource: inspect the status and configuration of firewalld (#2074) 2017-09-27 14:05:35 +02:00
firewall-cmd--get-default-zone firewalld resource: inspect the status and configuration of firewalld (#2074) 2017-09-27 14:05:35 +02:00
firewall-cmd--get-zones firewalld resource: inspect the status and configuration of firewalld (#2074) 2017-09-27 14:05:35 +02:00
firewall-cmd--service-enabled-in-zone firewalld resource: inspect the status and configuration of firewalld (#2074) 2017-09-27 14:05:35 +02:00
firewall-cmd--state firewalld resource: inspect the status and configuration of firewalld (#2074) 2017-09-27 14:05:35 +02:00
firewall-cmd-has-port-enabled-in-zone firewalld resource: inspect the status and configuration of firewalld (#2074) 2017-09-27 14:05:35 +02:00
firewall-cmd-has-rule-enabled firewalld resource: inspect the status and configuration of firewalld (#2074) 2017-09-27 14:05:35 +02:00
firewall-cmd-service-ports-enabled-in-zone firewalld resource: inspect the status and configuration of firewalld (#2074) 2017-09-27 14:05:35 +02:00
firewall-cmd-service-protocols-enabled-in-zone firewalld resource: inspect the status and configuration of firewalld (#2074) 2017-09-27 14:05:35 +02:00
firewall-cmd-services-bound firewalld resource: inspect the status and configuration of firewalld (#2074) 2017-09-27 14:05:35 +02:00
firewall-cmd-sources-bound firewalld resource: inspect the status and configuration of firewalld (#2074) 2017-09-27 14:05:35 +02:00
gem-list-local-a-q-chef-sugar Extend gem to take an optional gem_binary 2017-03-24 22:28:42 -07:00
gem-list-local-a-q-json Extend gem to take an optional gem_binary 2017-03-24 22:28:42 -07:00
gem-list-local-a-q-knife-backup Extend gem to take an optional gem_binary 2017-03-24 22:28:42 -07:00
gem-list-local-a-q-not-installed Fix installed? check for gem resource 2017-05-22 15:34:01 -05:00
gem-list-local-a-q-pry Extend gem to take an optional gem_binary 2017-03-24 22:28:42 -07:00
gem-list-local-a-q-rubocop add gem resource to verify gem packages 2015-09-22 02:15:41 +02:00
get-item-property-package Detect windows packages with trailing spaces. (#3106) 2018-06-01 10:39:26 -04:00
get-net-tcpconnection port resource support for Windows 2015-09-23 23:08:19 +02:00
Get-NetAdapter add windows support to network adapter 2015-10-08 13:01:50 +02:00
get-netadapter-binding-bridge add bridge unit tests for windows 2015-10-09 15:26:59 +02:00
Get-NetIPAddress support address matchers on interface resource 2019-04-12 08:24:13 -07:00
get-package-firefox increase test coverage for oneget 2015-10-03 13:27:20 +02:00
get-package-ruby increase test coverage for oneget 2015-10-03 13:27:20 +02:00
get-process_processes Added windows support to the processes resource 2017-06-05 23:41:02 +01:00
get-service-dhcp add resource test for windows 2015-09-22 02:26:59 +02:00
get-windows-feature add unit tests for windows feature 2015-09-22 02:27:03 +02:00
get-windows-feature-iis-webserver windows_feature resource: Add DISM support (#3224) 2018-07-25 16:00:06 -04:00
get-windows-pip-package Pw/pip windows bug (#2883) 2018-03-29 13:01:59 -04:00
get-wmiobject improve wmi resource 2016-06-19 23:40:45 +02:00
get-wmiobject-filesystem Add size_kb, and correct Powershell code to return KB for both total size and free space, rather than total in GB and free space in bytes 2019-02-06 14:01:04 -05:00
getent-ahosts-example.com Change host resource to use getent ahosts on Linux (#2002) 2017-07-11 21:32:52 +02:00
getent-passwd-jfolmer add unit tests for user resource that cover ldap groups 2015-11-24 18:35:10 +01:00
getent-passwd-root add tests for user resource 2015-10-05 11:50:49 +02:00
host-AAAA-example.com Add OSX support for host resource (#1608) 2017-04-13 11:32:04 -04:00
hostname add unit tests 2016-09-09 12:43:03 +02:00
hpux-netstat-inet prefixed hpux to cmd file name 2016-05-03 21:38:39 +05:30
hpux-netstat-inet6 prefixed hpux to cmd file name 2016-05-03 21:38:39 +05:30
http-remote-basic-auth http resource: properly execute tests on remote target (#2209) 2017-10-04 22:44:09 +02:00
http-remote-head-request http resource: properly support HEAD request with remote worker (#2340) 2017-11-27 18:17:39 +01:00
http-remote-headers http resource: properly execute tests on remote target (#2209) 2017-10-04 22:44:09 +02:00
http-remote-max-redirs Allow http resource to follow redirects 2019-03-16 20:54:52 -04:00
http-remote-no-options http resource: properly execute tests on remote target (#2209) 2017-10-04 22:44:09 +02:00
http-remote-options-request http resource: Support OPTIONS method (#2742) 2018-02-27 12:59:53 -05:00
http-remote-params Add basic param handling to remote HTTP worker (#2286) 2017-11-16 12:16:23 -05:00
http-remote-post http resource: properly execute tests on remote target (#2209) 2017-10-04 22:44:09 +02:00
id-chartmann add tests for user resource 2015-10-05 11:50:49 +02:00
id-jfolmer add unit tests for user resource that cover ldap groups 2015-11-24 18:35:10 +01:00
id-root add tests for user resource 2015-10-05 11:50:49 +02:00
iis-default-app-pool add iis_app_pool resource (#2400) 2018-08-09 09:19:49 -04:00
iis-default-web-site Update iis_site bindingInformation construction and add tests. (#3490) (#3492) 2018-11-08 13:42:59 -05:00
initctl--version upstart_service: add version mock for ubuntu 2016-02-05 13:49:18 +01:00
initctl-status-ssh add service unit tests for ubuntu 14.04 2015-09-25 11:52:33 +02:00
interface-addresses-4 support address matchers on interface resource 2019-04-12 08:24:13 -07:00
interface-addresses-6 support address matchers on interface resource 2019-04-12 08:24:13 -07:00
ip6tables-s Add ip6tables resource 2019-06-24 17:01:34 -07:00
iptables-s iptables unit test: add comment examples 2016-02-10 09:57:32 +01:00
kb4019215 windows_hotfix resource: test whether a Windows HotFix is installed (#2178) 2017-09-25 19:09:22 +02:00
launchctl-list improve service handling for mac and add unit tests 2015-09-25 12:51:12 +02:00
logins-x added hpux user and package resource support 2016-04-21 14:01:56 +05:30
ls-1-etc-init.d service resource: attempt a SysV fallback if SystemD unit file is not found (#2473) 2018-01-23 12:34:47 -08:00
ls-sys-class-net-br add bridge test for linux 2015-10-09 15:07:58 +02:00
lsmod kernel_module resource: added blacklisting, enabled, disabled, docs and unit tests (#1798) 2017-07-05 11:41:44 +02:00
lsof-nP-i-FpctPn formatted lsof mockup 2016-01-14 23:03:24 -05:00
manufacturer add tests for resource sys_info.manufacturer and sys_info.model 2019-07-16 21:02:45 +02:00
model add tests for resource sys_info.manufacturer and sys_info.model 2019-07-16 21:02:45 +02:00
model_darwin add darwin/OSX tests 2019-07-16 21:53:19 +02:00
modinfo-f-version-dhcp Add version method to kernel_module 2017-01-27 13:33:41 +03:00
modprobe-config kernel_module resource: added blacklisting, enabled, disabled, docs and unit tests (#1798) 2017-07-05 11:41:44 +02:00
mount add mount resource 2016-01-03 00:03:24 +01:00
mount-multiple handle mount results with multiple entries 2016-01-03 00:03:24 +01:00
mount-whitespaces mount resource: fix for Device-/Sharenames and Mountpoints including … (#2257) 2017-11-01 12:01:21 +01:00
mssql-getdate Remove all leading newlines. 2019-05-31 11:43:44 -07:00
mssql-result oracle_session and mssql_session improvement (#1857) 2017-06-29 11:01:32 -04:00
mssql-sqlcmd oracle_session and mssql_session improvement (#1857) 2017-06-29 11:01:32 -04:00
netstat-aan Uses netstat to detect open ports on AIX (#2210) 2017-10-10 10:54:18 +02:00
netstat-anbo-pipe-select-string-pattern.utf8 make netstat default for getting ports and get only listening ones 2016-08-12 16:02:56 +01:00
netstat-tulpen Fix port ressource ss line parsing (#2243) 2017-10-17 14:45:37 +02:00
netstat-tulpen-busybox Support the Busybox variant of netstat in the port resource (#3425) 2018-09-25 22:40:05 -04:00
nginx-v nginx resource: audit the nginx binary and how it was compiled (#1958) 2017-09-13 08:15:09 -04:00
npm-g-ls--json-bower support local npm package searches (#3105) 2018-06-01 10:52:46 +02:00
npm-ls--json-bower support local npm package searches (#3105) 2018-06-01 10:52:46 +02:00
oracle-cmd oracle_session and mssql_session improvement (#1857) 2017-06-29 11:01:32 -04:00
oracle-result oracle_session and mssql_session improvement (#1857) 2017-06-29 11:01:32 -04:00
pacman-qi-curl rename pacman mock file 2015-09-23 23:30:31 +02:00
perl-print-version cpan resource: check for Perl module installation (#2254) 2017-10-25 16:01:26 +02:00
perl-print-version-not-installed cpan resource: check for Perl module installation (#2254) 2017-10-25 16:01:26 +02:00
ping-example.com add linux tests for host 2015-10-09 19:27:29 +02:00
pip-show-django pip resource: support non-default pip locations, such as virtualenvs (#2097) 2017-08-30 22:04:22 +02:00
pip-show-jinja2 add pip resource to verify gem packages 2015-09-22 02:15:41 +02:00
pip-show-non-standard-django pip resource: support non-default pip locations, such as virtualenvs (#2097) 2017-08-30 22:04:22 +02:00
pkg-info-firewalld firewalld resource: inspect the status and configuration of firewalld (#2074) 2017-09-27 14:05:35 +02:00
pkg-info-system-file-system-zfs add unit tests 2016-01-28 18:30:38 +01:00
pkginfo-l-SUNWzfsr add unit tests 2016-01-28 18:30:38 +01:00
ps-axo use command instead of comm and set user column width on linux 2016-10-17 15:39:13 +01:00
ps-axoZ Modify linux regular expression to handle process names with spaces (#2117) 2017-09-05 14:36:55 +02:00
ps-busybox Support finding larger processes on Busybox (#3446) 2018-10-04 14:06:17 -04:00
ps-help-busybox Support finding larger processes on Busybox (#3446) 2018-10-04 14:06:17 -04:00
psql-version New postgres_ident_conf resource (#1963) 2017-07-03 20:01:40 +02:00
pw-usershow-root-7 add tests for user resource 2015-10-05 11:50:49 +02:00
r-print-version cran resource: check for R module installation (#2255) 2017-10-25 16:14:29 +02:00
r-print-version-not-installed cran resource: check for R module installation (#2255) 2017-10-25 16:14:29 +02:00
reg_schedule Support array syntax for registry_key resource (#2160) 2017-09-19 18:26:53 +02:00
Resolve-DnsName add mock files for host windows tests 2015-10-09 19:27:07 +02:00
rmsock-f0001 Uses netstat to detect open ports on AIX (#2210) 2017-10-10 10:54:18 +02:00
rmsock-f0002 Uses netstat to detect open ports on AIX (#2210) 2017-10-10 10:54:18 +02:00
rpm-qa-queryformat packages resource: Add architectures support (#2469) 2018-01-25 23:57:34 -08:00
rpm-qi-curl Remove unneeded "-a" from the RPM query for performance improvement (#3077) 2018-05-31 12:11:41 -04:00
s11-netstat-an-finet-finet6 Remove all leading newlines. 2019-05-31 11:43:44 -07:00
sbin_sysctl add tests 2015-09-22 02:27:04 +02:00
schtasks-error Added unit tests, only took most of the night :) 2016-11-20 20:07:59 +00:00
schtasks-success Added unit tests, only took most of the night :) 2016-11-20 20:07:59 +00:00
schtasks-success-multiple-triggers windows_task: Fix handling of multiple triggers 2019-06-28 00:27:53 -07:00
schtasks-success-single-trigger windows_task: Fix handling of multiple triggers 2019-06-28 00:27:53 -07:00
secedit-export implement security policy resource tests 2015-09-21 13:51:43 +02:00
security-identifier-alice Remove all leading newlines. 2019-05-31 11:43:44 -07:00
security-identifier-guests Remove all leading newlines. 2019-05-31 11:43:44 -07:00
security-identifier-unknown Remove all leading newlines. 2019-05-31 11:43:44 -07:00
security-policy-sid-translated Update security_policy resource to return Names, not SIDs (#2462) 2018-01-23 12:31:57 -08:00
security-policy-sid-untranslated Update security_policy resource to return Names, not SIDs (#2462) 2018-01-23 12:31:57 -08:00
service-e add unit tests for freebsd service resource 2015-09-25 12:53:40 +02:00
service-sendmail-onestatus add unit tests for freebsd service resource 2015-09-25 12:53:40 +02:00
service-sshd-status rewrite systemv service implementation, read enabled services from rc 2015-09-25 12:58:03 +02:00
sockstat add sockstat mock result 2015-09-23 23:15:37 +02:00
ss-tulpen fix port resource (parse_ss_line) (#2305) 2017-11-13 18:06:01 +01:00
success implement security policy resource tests 2015-09-21 13:51:43 +02:00
swlist-l-product added hpux user and package resource support 2016-04-21 14:01:56 +05:30
systemctl-is-enabled-apache2-stderr service resource: attempt a SysV fallback if SystemD unit file is not found (#2473) 2018-01-23 12:34:47 -08:00
systemctl-show-all-apache2 service resource: attempt a SysV fallback if SystemD unit file is not found (#2473) 2018-01-23 12:34:47 -08:00
systemctl-show-all-dbus Add 'static' value as enabled to systemd service enabled check 2016-04-13 14:44:28 -05:00
systemctl-show-all-sshd check service running by ActiveState 2016-07-06 12:57:04 +02:00
Test-NetConnection Add TCP reachability support on Linux for host resource (#1915) 2017-06-09 18:18:51 +02:00
yum-repolist-all implement yum resource 2015-09-22 01:10:56 +02:00
zfs-get-all-tank-tmp Add FreeBSD support for ZFS datasets and pools 2017-02-22 10:29:49 -07:00
zpool-get-all-tank Add FreeBSD support for ZFS datasets and pools 2017-02-22 10:29:49 -07:00