Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for AIX and targeted SSH testing #41

Merged
merged 21 commits into from
Dec 17, 2015
Merged

Conversation

foobarbam
Copy link
Contributor

Add support for AIX platform and ability to test via ssh transport.

See Rakefile ssh task commentary for usage.

All tests pass against my AIX system (lint and docker tests also pass)

foobarbam@polaris:~/src/gems/train$ rake test:ssh[user@server]
Run options: --seed 55229

# Running:

...................................................................................................................

Finished in 714.254213s, 0.1610 runs/s, 0.1694 assertions/s.

115 runs, 121 assertions, 0 failures, 0 errors, 0 skips

@chris-rock
Copy link
Contributor

@foobarbam so cool to see aix support for train. Thanks for adding this. Just ordered my PDP environment for the next days to test it. Get back to you asap.

@chris-rock
Copy link
Contributor

@foobarbam Tested it against AIX 6 and AIX 7.2. Works like a charm. Thank you very much for this great addition.

Test on IBM AIX 6.1

rake "test:ssh[u0016746@172.29.151.232]"         
sh -c cd /Users/chartmann/Development/compliance/train/test/integration && target=u0016746@172.29.151.232 key_files=/Users/chartmann/.ssh/id_rsa ruby -I ../../lib test_ssh.rb tests/*
Run options: --seed 12258

# Running:

...............................................................................................................

Finished in 337.118067s, 0.3411 runs/s, 0.3589 assertions/s.

115 runs, 121 assertions, 0 failures, 0 errors, 0 skips

Test on IBM AIX 7.2 beta

rake "test:ssh[u0016746@172.29.151.240]"
sh -c cd /Users/chartmann/Development/compliance/train/test/integration && target=u0016746@172.29.151.240 key_files=/Users/chartmann/.ssh/id_rsa ruby -I ../../lib test_ssh.rb tests/*
Run options: --seed 35324

# Running:

...............................................................................................................

Finished in 338.617305s, 0.3396 runs/s, 0.3573 assertions/s.

115 runs, 121 assertions, 0 failures, 0 errors, 0 skips

chris-rock added a commit that referenced this pull request Dec 17, 2015
Support for AIX and targetted SSH testing
@chris-rock chris-rock merged commit aadc7ce into inspec:master Dec 17, 2015
@foobarbam
Copy link
Contributor Author

you bet man, thanks for the merge

@chris-rock chris-rock changed the title Support for AIX and targetted SSH testing Support for AIX and targeted SSH testing Jan 2, 2016
@chris-rock chris-rock added this to the 0.9.3 milestone Jan 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants