mirror of
https://github.com/inspec/inspec
synced 2024-11-23 13:13:22 +00:00
Mock mysql related command
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
This commit is contained in:
parent
3fe7091254
commit
4c0a582539
1 changed files with 1 additions and 1 deletions
|
@ -508,7 +508,7 @@ class MockLoader
|
|||
'/sbin/service sshd status' => empty.call,
|
||||
'service apache2 status' => cmd_exit_1.call,
|
||||
'type "lsof"' => empty.call,
|
||||
|
||||
'test -f /etc/mysql/debian.cnf && cat /etc/mysql/debian.cnf' => empty.call,
|
||||
# http resource - remote worker'
|
||||
%{bash -c 'type "curl"'} => cmd.call('bash-c-type-curl'),
|
||||
"curl -i -X GET --connect-timeout 60 --max-time 120 'http://www.example.com'" => cmd.call('http-remote-no-options'),
|
||||
|
|
Loading…
Reference in a new issue