summaryrefslogtreecommitdiff
path: root/spec/functional/shell_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Attributes v1.1 changeslcg/attributes-v1.1Lamont Granquist2016-06-271-1/+1
| | | | | | | | | | | - fixes *_unless behavior and set_unless_value_present hack from Chef 12 - simplifies rm_* code - introduces functional read/write/unlink/exist? API - deprecates method_missing access to attributes for Chef 13 - deprecates set/set_unless aliases for Chef 14 - removes MultiMash mess that I wrote for Chef 13 https://github.com/chef/chef/pull/5029 for more details
* autofixing whitespace copsLamont Granquist2016-02-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | 4174 Style/SpaceInsideHashLiteralBraces 1860 Style/SpaceAroundOperators 1336 Style/SpaceInsideBlockBraces 1292 Style/AlignHash 997 Style/SpaceAfterComma 860 Style/SpaceAroundEqualsInParameterDefault 310 Style/EmptyLines 294 Style/IndentationConsistency 267 Style/TrailingWhitespace 238 Style/ExtraSpacing 212 Style/SpaceBeforeBlockBraces 166 Style/MultilineOperationIndentation 144 Style/TrailingBlankLines 120 Style/EmptyLineBetweenDefs 101 Style/IndentationWidth 82 Style/SpaceAroundBlockParameters 40 Style/EmptyLinesAroundMethodBody 29 Style/EmptyLinesAroundAccessModifier 1 Style/RescueEnsureAlignment
* Update all auth email address from opscode.com and getchef.com to chef.io.Noah Kantrowitz2016-02-021-1/+1
| | | Generated via git ls-files | xargs perl -pi -e "s/(Author.*?<[^@]+@)(?:opscode\\.com|getchef\\.com)(>)/\\1chef.io\\2/gi"
* Copyright year update for 2016 and massive cleanup.Noah Kantrowitz2016-02-021-1/+1
| | | Generated via git ls-files | xargs perl -pi -e "s/[Cc]opyright (?:\([Cc]\) )?((?\!$(date +%Y))\\d{4})(-\\d{4})?([, ][ \d]+)*(,|(?= ))/Copyright \\1-$(date +%Y),/g"
* add spec helperLamont Granquist2016-01-291-1/+2
| | | | tests won't run in isolation with it.
* Use double quotes by defaultThom May2016-01-141-6/+6
| | | | | | | This is an entirely mechanically generated (chefstyle -a) change, to go along with chef/chefstyle#5 . We should pick something and use it consistently, and my opinion is that double quotes are the appropriate thing.
* bump timeout up to 300 secondslcg/chef-shell-timeoutLamont Granquist2015-05-181-1/+1
| | | | | trying to see if the sparc failures are just because 30 seconds is still too slow on them.
* fixes the timing on the chef-shell specslcg/fix-shell-spec-timingLamont Granquist2015-05-121-10/+25
| | | | also makes timing errors hard errors
* Update to RSpec 3.Claire McQuin2014-10-291-3/+3
|
* [CHEF-5314] Add unit and fucntional specsRyan Cragun2014-05-201-0/+10
|
* Normalize whitespace on all filesSeth Vargo2013-09-261-3/+3
|
* change shell spec to use popen4 only for aix, others use pty.kaustubh-d2013-08-191-15/+53
|
* aix - rewrite chef-shell functional test using popen4 as ruby pty does not ↵kaustubh-d2013-08-191-33/+15
| | | | work on aix
* Fix spec file loading annoyancesdanielsdeleo2013-06-261-1/+2
| | | | | | - Don't load all knife subcommands. Fixes error running tests on 1.8 when you have 1.9-only plugins installed. - Adjust spec file loading to use paths relative to spec/
* ensure chef-shell func. test reads to the enddanielsdeleo2013-01-221-0/+1
|
* remove extra 'expect "exit"'danielsdeleo2013-01-221-2/+1
|
* bump chef-shell func. test read timeout to 30sdanielsdeleo2013-01-221-2/+2
| | | | ohai is just slow on some platforms like solaris
* chef-shell functional tests: wait when no IO availabledanielsdeleo2013-01-211-0/+1
| | | | | on slower boxes, the aggro read loop was actually slowing tests down and making them timeout.
* fix typo in test chef-shell config file pathdanielsdeleo2013-01-211-1/+1
|
* break out of read loop after timeoutdanielsdeleo2012-11-211-5/+6
|
* break out of read loop after timeoutdanielsdeleo2012-11-211-2/+3
|
* fix race condition in reading outputdanielsdeleo2012-11-211-3/+4
|
* remove debug output from chef-shell testdanielsdeleo2012-11-211-2/+0
|
* disable ohai plugins for shell func testsdanielsdeleo2012-11-211-1/+2
|
* Fix chef-shell functional tests for linuxdanielsdeleo2012-11-211-6/+47
|
* hide `require 'pty'` from windowsdanielsdeleo2012-11-211-1/+3
|
* use full path to chef-shell in functional testdanielsdeleo2012-11-211-1/+3
|
* Fix chef-shell for log_level == :autodanielsdeleo2012-11-201-0/+53
Also add functional regression tests