summaryrefslogtreecommitdiff
path: root/spec/functional/win32
Commit message (Collapse)AuthorAgeFilesLines
* autofixing whitespace copsLamont Granquist2016-02-055-99/+98
| | | | | | | | | | | | | | | | | | | | | | 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-023-4/+4
| | | Generated via git ls-files | xargs perl -pi -e "s/(Author.*?<[^@]+@)(?:opscode\\.com|getchef\\.com)(>)/\\1chef.io\\2/gi"
* Replace all Opscode copyrights with Chef Software.Noah Kantrowitz2016-02-024-4/+4
| | | Created via git ls-files | xargs perl -pi -e "s/(Copyright.*?), Opscode(,)? Inc(\.)?/\\1, Chef Software Inc./gi"
* Copyright year update for 2016 and massive cleanup.Noah Kantrowitz2016-02-027-7/+7
| | | 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"
* Use OHAI_SYSTEM where possibleJay Mundrawala2016-02-022-7/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rerunning ohai wastes a lot of time. This should get us back to within our time limits in appveyor even with the perf regression in Ohai. Don't rerun ohai for unit/regsitry_helper_spec Ohai is slow. We don't need to rerun this, it's already run in our spec_helper. Don't keep rerunning ohai for reboot_pending_spec Running Ohai is slow. This should know almost 2 mins off the runtime of the tests. Don't need to run ohai for registry_spec crypto_spec does not need its own ohai cmdlet_spec does not need its own ohai functional registry_helper_spec does not need its own ohai Use spec ohai system for knife configure_spec Use OHAI_SYSTEM for dsc_script_spec use OHAI_SYSTEM for dsc_resource_spec
* Use double quotes by defaultThom May2016-01-147-60/+60
| | | | | | | 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.
* adds support to installer types inno, nsis, wise and installshield top the ↵Matt Wrock2015-12-071-0/+50
| | | | windows_package resource
* Modify registry specs to adhere to spec naming conventionsClaire McQuin2015-09-041-19/+0
|
* Delete Root key and subkeysClaire McQuin2015-09-031-4/+4
|
* Make service manager tests pass.Kartik Null Cating-Subramanian2015-07-201-1/+1
|
* avoid windows service spec unless we're on appveyortm/service_appveyor_onlyThom May2015-07-171-1/+1
|
* downcasted registry key names to lowercaseJKerry2015-06-261-0/+12
|
* Pin sid_spec default group expectation to observed behaviorDan Bjorge2015-04-231-2/+5
|
* Stop sid_spec.rb from referencing Win32 classes on non-WindowsDan Bjorge2015-04-231-1/+3
|
* Added trailing newline to new sid_spec.rbDan Bjorge2015-04-231-1/+1
|
* securable_resource functional specs compare default creation permissions ↵Dan Bjorge2015-04-231-0/+50
| | | | against actual defaults on Windows
* Added specJay Mundrawala2015-03-201-0/+57
|
* Added basic spec for AccessCheckJay Mundrawala2015-02-171-0/+31
|
* Added basic spec for get_file_securityJay Mundrawala2015-02-171-0/+9
|
* Added a test for duplicating a security token with incorrect permissionsJay Mundrawala2015-02-171-0/+8
|
* Added test for duplicating a security tokenJay Mundrawala2015-02-171-0/+15
|
* Enable Windows services to run as a different user (CHEF-4921). This adds ↵cdoherty-enhance-win-serviceChris Doherty2014-12-191-57/+3
| | | | | | | | :run_as_user and :run_as_password attributes to the windows_service resource. If a logon user is specified, the resource will (on every run) grant the logon-as-service privilege to that user, using secedit.exe.
* Change pending to skip.Claire McQuin2014-11-031-1/+1
|
* Update to RSpec 3.Claire McQuin2014-10-294-160/+160
|
* Change mis-named class constant WmiInstance to WmiLiteAdam Edwards2014-05-301-1/+1
|
* Use wmi-lite gem dependency for wmi accessAdam Edwards2014-05-301-1/+1
|
* Re-implement ruby-wmi functionalityAdam Edwards2014-05-301-4/+4
|
* [CHEF-5150] chef-service-manager: don't create interactive servicePierre Ynard2014-04-101-0/+6
| | | | | | See http://msdn.microsoft.com/en-us/library/windows/desktop/ms683502%28v=vs.85%29.aspx Default value in win32-service is interactive and there is no reason why chef-client should run as that.
* Fix Windows 2003 CI issues:sersut2014-03-281-3/+3
| | | | | - Make sure that return value is preserved windows_server_2003? - Disable version_specs on 2003 since the API is not supported.
* CHEF-4885: Refactor to add more tests, workaround for Win 8.1 API changeAdam Edwards2014-01-261-2/+35
|
* Added rspec test to check dynamic legit method nameameyavarade2014-01-261-1/+7
|
* Remove the unstable functional test for windows service which shells out ↵sersut2013-10-161-55/+0
| | | | 'chef-client ...' without proper configuration.
* Start chef-client in new process when it is run as a service on windowsMukta A2013-10-041-0/+55
|
* Normalize whitespace on all filesSeth Vargo2013-09-261-3/+3
|
* Minor test cleanup for windows.sersut2013-05-201-1/+1
|
* Add more explanation in test comments on OS idiosyncrasies around OS version ↵adamedx2013-05-041-1/+7
| | | | information
* Service manager tests move to optional as short-term CI reliability improvementadamedx2013-05-041-5/+5
|
* Version library fixes for Win2k3 non-existent GetProductInfo API, misplaced ↵adamedx2013-05-041-1/+37
| | | | GetSystemMetrics API calls, irregular characters in Win2k3, Win2k8 WMI test validation
* Fix the service_manager_tests on commit verification pipelinesersut2013-03-291-1/+1
|
* minor fix. Check host captionChirag Jog2013-03-291-2/+2
|
* Spec test to validate version.rbChirag Jog2013-03-291-0/+36
|
* Fix test failures due to windows_service_manager...sersut2013-03-011-2/+4
|
* Rearrange comments based on PR feedback.sersut2013-03-011-34/+37
|
* Tests, documentation and better error handling for windows service manager.sersut2013-03-011-0/+264
|
* Add a pending negative testcase.sersut2013-01-221-0/+9
|
* Fix typo: privilage -> privilegesersut2013-01-221-2/+2
|
* Tests for the windows admin privilege check logic.sersut2013-01-221-0/+28
|
* Fixing tests as per changed codePrajaktaPurohit2012-12-191-16/+0
|
* Returning true accross all functions when the state wanted by user is attainedPrajaktaPurohit2012-12-191-11/+11
|
* Adding tests to run on unix platform for windows registry and making the ↵PrajaktaPurohit2012-12-191-1/+19
| | | | registry tests :windows_only