mirror of
https://github.com/inspec/inspec
synced 2024-11-23 05:03:07 +00:00
Change test to be consistent with the main implementation
Signed-off-by: Yoshi Yamaguchi <yoshifumi@google.com>
This commit is contained in:
parent
4981ca0a97
commit
68aa7ca14b
1 changed files with 1 additions and 1 deletions
|
@ -344,7 +344,7 @@ class MockLoader
|
|||
"host -t AAAA example.com" => cmd.call("host-AAAA-example.com"),
|
||||
"ping -W 1 -c 1 example.com" => cmd.call("ping-example.com"),
|
||||
# apt
|
||||
"find /etc/apt/ -name *.list -exec sh -c 'cat {} || echo -n' \\;" => cmd.call("etc-apt"),
|
||||
"find /etc/apt/ -name \"*.list\" -exec sh -c 'cat {} || echo -n' \\;" => cmd.call("etc-apt"),
|
||||
# iptables
|
||||
"/usr/sbin/iptables -S" => cmd.call("iptables-s"),
|
||||
%{sh -c 'type "/usr/sbin/iptables"'} => empty.call,
|
||||
|
|
Loading…
Reference in a new issue