Last active
December 28, 2015 13:47
-
-
Save chris-rock/23d6a120d07c553ffdc7 to your computer and use it in GitHub Desktop.
Inspec AIX 6.1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"You are currently running on OS family: aix, OS release: 6.1" | |
...........F....................F......F.....F...........................................FFFF....F.F.......F. | |
Failures: | |
1) Csv /tmp/example.csv name should eq ["addressable", "ast", "astrolabe", "berkshelf"] | |
Failure/Error: rspec_runner.run_specs(@tests.ordered_example_groups) | |
expected: ["addressable", "ast", "astrolabe", "berkshelf"] | |
got: ["addressable", "ast", "astrolabe", "berkshelf", nil] | |
(compared using ==) | |
Diff: | |
@@ -1,2 +1,2 @@ | |
-["addressable", "ast", "astrolabe", "berkshelf"] | |
+["addressable", "ast", "astrolabe", "berkshelf", nil] | |
# ./test/integration/test/integration/default/csv_spec.rb:4:in `block (2 levels) in load' | |
# ./lib/inspec/runner.rb:103:in `run_with' | |
# ./lib/inspec/runner.rb:99:in `run' | |
2) File /tmp/file should be readable by user root | |
Failure/Error: rspec_runner.run_specs(@tests.ordered_example_groups) | |
expected File /tmp/file to be readable by user root | |
# ./test/integration/test/integration/default/file_spec.rb:59:in `block (2 levels) in load' | |
# ./lib/inspec/runner.rb:103:in `run_with' | |
# ./lib/inspec/runner.rb:99:in `run' | |
3) File /tmp/file should be writable by user root | |
Failure/Error: rspec_runner.run_specs(@tests.ordered_example_groups) | |
expected File /tmp/file to be writable by user root | |
# ./test/integration/test/integration/default/file_spec.rb:68:in `block (2 levels) in load' | |
# ./lib/inspec/runner.rb:103:in `run_with' | |
# ./lib/inspec/runner.rb:99:in `run' | |
4) File /tmp/file should be executable by user root | |
Failure/Error: rspec_runner.run_specs(@tests.ordered_example_groups) | |
expected File /tmp/file to be executable by user root | |
# ./test/integration/test/integration/default/file_spec.rb:77:in `block (2 levels) in load' | |
# ./lib/inspec/runner.rb:103:in `run_with' | |
# ./lib/inspec/runner.rb:99:in `run' | |
5) Port 22 should be listening | |
Failure/Error: rspec_runner.run_specs(@tests.ordered_example_groups) | |
expected `Port 22.listening?` to return true, got false | |
# ./test/integration/test/integration/default/port_spec.rb:6:in `block (2 levels) in load' | |
# ./lib/inspec/runner.rb:103:in `run_with' | |
# ./lib/inspec/runner.rb:99:in `run' | |
6) Port 22 protocols should include "tcp" | |
Failure/Error: rspec_runner.run_specs(@tests.ordered_example_groups) | |
expected nil to include "tcp", but it does not respond to `include?` | |
# ./test/integration/test/integration/default/port_spec.rb:7:in `block (2 levels) in load' | |
# ./lib/inspec/runner.rb:103:in `run_with' | |
# ./lib/inspec/runner.rb:99:in `run' | |
7) Port 22 protocols should not include "udp" | |
Failure/Error: rspec_runner.run_specs(@tests.ordered_example_groups) | |
expected nil not to include "udp", but it does not respond to `include?` | |
# ./test/integration/test/integration/default/port_spec.rb:8:in `block (2 levels) in load' | |
# ./lib/inspec/runner.rb:103:in `run_with' | |
# ./lib/inspec/runner.rb:99:in `run' | |
8) Port 22 processes should include "sshd" | |
Failure/Error: rspec_runner.run_specs(@tests.ordered_example_groups) | |
expected nil to include "sshd", but it does not respond to `include?` | |
# ./test/integration/test/integration/default/port_spec.rb:9:in `block (2 levels) in load' | |
# ./lib/inspec/runner.rb:103:in `run_with' | |
# ./lib/inspec/runner.rb:99:in `run' | |
9) Service xntpd should be enabled | |
Failure/Error: rspec_runner.run_specs(@tests.ordered_example_groups) | |
expected that `Service xntpd` is enabled | |
# ./test/integration/test/integration/default/service_spec.rb:32:in `block (2 levels) in load' | |
# ./lib/inspec/runner.rb:103:in `run_with' | |
# ./lib/inspec/runner.rb:99:in `run' | |
10) Service xntpd should be running | |
Failure/Error: rspec_runner.run_specs(@tests.ordered_example_groups) | |
expected that `Service xntpd` is running | |
# ./test/integration/test/integration/default/service_spec.rb:34:in `block (2 levels) in load' | |
# ./lib/inspec/runner.rb:103:in `run_with' | |
# ./lib/inspec/runner.rb:99:in `run' | |
11) User bin warndays should eq 0 | |
Failure/Error: rspec_runner.run_specs(@tests.ordered_example_groups) | |
expected: 0 | |
got: nil | |
(compared using ==) | |
# ./test/integration/test/integration/default/user_spec.rb:69:in `block (3 levels) in load' | |
# ./lib/inspec/runner.rb:103:in `run_with' | |
# ./lib/inspec/runner.rb:99:in `run' | |
Finished in 7.67 seconds (files took 5.82 seconds to load) | |
109 examples, 11 failures | |
Failed examples: | |
rspec # Csv /tmp/example.csv name should eq ["addressable", "ast", "astrolabe", "berkshelf"] | |
rspec # File /tmp/file should be readable by user root | |
rspec # File /tmp/file should be writable by user root | |
rspec # File /tmp/file should be executable by user root | |
rspec # Port 22 should be listening | |
rspec # Port 22 protocols should include "tcp" | |
rspec # Port 22 protocols should not include "udp" | |
rspec # Port 22 processes should include "sshd" | |
rspec # Service xntpd should be enabled | |
rspec # Service xntpd should be running | |
rspec # User bin warndays should eq 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment