mirror of
https://github.com/inspec/inspec
synced 2024-11-22 20:53:11 +00:00
Add service -l mock called in FreeBSD10Init info
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
This commit is contained in:
parent
88fc2c3e38
commit
606049abf9
2 changed files with 11 additions and 0 deletions
9
test/fixtures/cmd/service-l
vendored
Normal file
9
test/fixtures/cmd/service-l
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
DAEMON
|
||||
FILESYSTEMS
|
||||
LOGIN
|
||||
NETWORKING
|
||||
SERVERS
|
||||
automount
|
||||
sendmail
|
||||
sshd
|
||||
sysctl
|
|
@ -310,6 +310,8 @@ class MockLoader
|
|||
# services on freebsd 6+
|
||||
"service -e" => cmd.call("service-e"),
|
||||
"service sendmail onestatus" => cmd.call("service-sendmail-onestatus"),
|
||||
# mock for FreeBSD10Init info
|
||||
"service -l" => cmd.call("service-l"),
|
||||
# services for system 5 e.g. centos6, debian 6
|
||||
"service sshd status" => cmd.call("service-sshd-status"),
|
||||
'find /etc/rc*.d /etc/init.d/rc*.d -name "S*"' => cmd.call("find-etc-rc-d-name-S"),
|
||||
|
|
Loading…
Reference in a new issue