Commit graph

2087 commits

Author SHA1 Message Date
Andrew Schwartzmeyer b8699a046d Fix up contributing guidelines
- Remove CI skip section because we always want CI
- Fix links due to file move
- Add note that CI will fail for PRs from forks
2016-04-22 15:12:02 -07:00
Andrew Schwartzmeyer b4faf6463c Move CONTRIBUTING.md into .github folder 2016-04-22 15:12:02 -07:00
Andy Schwartzmeyer e0ddcb1397 Merge pull request #905 from PowerShell/andschwa/fix-invalid-profile
Fix bug when loading bad profiles
2016-04-22 15:07:57 -07:00
Andrew Schwartzmeyer 5ab6f278f3 Fix bug when loading bad profiles
This resolves #817.

A PowerShell instance is created to load and execute profile code.
However, if the profile has a parse error, the instance never gets
created, thus we have to check that it's not null before disposing it.
2016-04-22 14:24:21 -07:00
Andy Schwartzmeyer dfec0939e1 Merge pull request #904 from PowerShell/andschwa/fix-restore
Remove aspnetvnext and dotnet-cli feeds
2016-04-22 14:13:50 -07:00
Andrew Schwartzmeyer 234752cd90 Remove aspnetvnext and dotnet-cli feeds
The dotnet-core and aspnetcidev feeds provide all our required packages.
The aspnetvnext causes `dotnet restore` to take an inordinate amount of
time, which terminates our CI builds.

Reducing the number of feeds brings restore time from scratch down to 3
seconds on my machine.

The aspnetvnext feed was originally added for the CoreCLR xUnit runner
packages; but is no longer necessary.

Resolves #896.
2016-04-22 13:50:17 -07:00
Andy Schwartzmeyer 44d011db81 Merge pull request #886 from PowerShell/GetAliasV2DRT
Add a V2 DRT for Get-Alias
2016-04-22 11:54:47 -07:00
Andy Schwartzmeyer abfbb53b49 Merge pull request #877 from PowerShell/GetCultureUT
Add Unit Test for Get-Culture
2016-04-22 11:53:46 -07:00
Andy Schwartzmeyer dca4376ac6 Merge pull request #876 from PowerShell/UnitTest_Temp
Add Unit Test for Add-Member
2016-04-22 11:52:59 -07:00
Andy Schwartzmeyer 0a566ecb29 Merge pull request #867 from PowerShell/InvokeCommandPesterTest
Add Invoke-Expression Pester Unit Test
2016-04-22 11:51:19 -07:00
Andy Schwartzmeyer c21ef82aee Merge pull request #866 from PowerShell/UpdateNewAliasPesterTest
Update New-Alias Pester Unit Test
2016-04-22 11:49:42 -07:00
Andy Schwartzmeyer 3e53aefebb Merge pull request #897 from PowerShell/andschwa/add-encodedcommand-tests-#712
Add -EncodedCommand tests
2016-04-22 11:49:04 -07:00
Andy Schwartzmeyer bb5e7d2472 Merge pull request #902 from PowerShell/UpdateGetVariablePesterTest
Update Get-Variable Pester Test for issue 818 closed
2016-04-22 10:12:38 -07:00
Andy Schwartzmeyer ed47027fef Merge pull request #894 from PowerShell/shifttab
Add Shift-Tab for reverse traversal
2016-04-22 10:10:54 -07:00
JumpingYang001 cd938e0905 Update Get-Variable Pester Test 2016-04-22 02:02:22 -07:00
TingLiu6 fc1d89a373 Fix the issues of CR for Add-Member 2016-04-22 01:44:22 -07:00
TingLiu6 e67043d99f Fix the issue of CR fot Get-Culture 2016-04-21 23:46:21 -07:00
Bryce Milton ed331bde7f Merge pull request #885 from PowerShell/BryceM-Dev
Porting Management DRT TTests from psl-monad to Pester
2016-04-21 22:54:26 -07:00
Andy Schwartzmeyer 0a5022cade Merge pull request #893 from PowerShell/andschwa/add-help-tests-#710
Add CoreConsoleHost tests for --help flags
2016-04-21 16:34:28 -07:00
George Fleming c623e3be0e Add Shift-Tab for reverse traversal 2016-04-21 16:15:27 -07:00
Andrew Schwartzmeyer 5fee08a097 Fix -EncodedCommand implementation
PowerShell uses Encoding.Unicode, which is different from Encoding.UTF8.
2016-04-21 16:05:53 -07:00
Andrew Schwartzmeyer 019b44b1ca Add test for -EncodedCommand 2016-04-21 16:05:07 -07:00
Andrew Schwartzmeyer a529bff212 Add tests for powershell -? parsing
And all other accepted forms.
2016-04-21 15:59:40 -07:00
Andrew Schwartzmeyer afb499d85e Update Pester tests readme 2016-04-21 15:50:30 -07:00
Andrew Schwartzmeyer 33aaa8c6f9 Use -noprofile for powershell.exe tests 2016-04-21 15:41:52 -07:00
Andy Schwartzmeyer 71ac45467e Merge pull request #889 from PowerShell/help
Fixes seg fault when Get-Help cannot find topic
2016-04-21 14:54:16 -07:00
Andy Schwartzmeyer 97ca8f5b76 Add Core PS links 2016-04-21 14:22:06 -07:00
Bryce Milton 6d6c4db2b8 Revert "attempting to work around Linux\OS1 dynamic file"
This reverts commit 1d883c705d.
2016-04-21 13:13:09 -07:00
Bryce Milton 1d883c705d attempting to work around Linux\OS1 dynamic file
https://github.com/PowerShell/PowerShell/issues/891
2016-04-21 13:00:57 -07:00
Bryce Milton abaa636f3a Fixing non-windows byte-encoding verification failure 2016-04-21 12:28:36 -07:00
Andy Schwartzmeyer a5e66b7d29 Merge pull request #890 from PowerShell/andschwa/fix-nuget-warnings-#856
Fix NuGet warnings due to TypeCatalogParser
2016-04-21 12:19:04 -07:00
Bryce Milton f6e0eee5d1 Fixing Linux\OSX compatibility issues
**Added -Pending:$flags for Linux and OSX to set-content and add-content
tests that expose dynamic variable file issues on these platforms
(https://github.com/PowerShell/PowerShell/issues/891)
**Handled platform-specific line-ending differences in Get-Content
-ReadLine - Tail tests
2016-04-21 12:08:37 -07:00
Andrew Schwartzmeyer b8ffd42051 Make TypeCatalogGen build script quieter 2016-04-21 11:17:59 -07:00
Andrew Schwartzmeyer 51cc45821f Use wild-card version of ProjectModel 2016-04-21 11:09:41 -07:00
George Fleming 4f9e2acc93 Fixes seg fault when Get-Help cannot find topic 2016-04-21 10:03:39 -07:00
Andy Schwartzmeyer 1a6ca3157b Merge pull request #882 from PowerShell/andschwa/faq
Add Frequently Asked Questions
2016-04-21 09:56:59 -07:00
TingLiu6 350a630d8f Add a V2 DRT for Get-Alias 2016-04-20 23:47:06 -07:00
Bryce Milton 54efb3cb52 Porting Management DRT TTests from psl-monad to Pester 2016-04-20 21:56:49 -07:00
TingLiu6 6a0dc423f4 Fixed the CR issues 2016-04-20 21:34:23 -07:00
Bryce Milton 613d9c3cad Porting Management DRT TTests from psl-monad to Pester 2016-04-20 21:27:17 -07:00
Dicey Dai 97c215791e Add Invoke-Expression Pester Unit Test 2016-04-20 21:25:16 -07:00
Andy Schwartzmeyer 6c098b84e2 Merge pull request #878 from PowerShell/GetHostUT
Add Unit Test for Get-Host
2016-04-20 21:06:07 -07:00
Dicey Dai 5318cecf39 Update New-Alias Pester Unit Test 2016-04-20 20:26:16 -07:00
Andrew Schwartzmeyer ca1055c83c Add Frequently Asked Questions to documentation
Addresses some PowerShell, build, and Git questions.
2016-04-20 16:25:58 -07:00
Andrew Schwartzmeyer ea73db0d68 Make Start-PSBootstrap re-install dotnet on Windows
It now helpfully deletes the previous `dotnet` directory so that older
versions of the CLI don't muck things up.
2016-04-20 15:21:55 -07:00
Andrew Schwartzmeyer fa0d7a34e4 Move known issues to docs folder
So only readme and contributing are top level.
2016-04-20 14:30:54 -07:00
Andy Schwartzmeyer efc24f1976 Merge pull request #881 from PowerShell/andschwa/fix-clear-variable-test
Fix clear variable test
2016-04-20 14:27:02 -07:00
Andrew Schwartzmeyer 957966508f Whitespace cleanup 2016-04-20 14:09:16 -07:00
Andrew Schwartzmeyer b2ae01fc3e Fix cryptic Pester failure
When the Pester tests were invoked over PSRP and the environment was
more pristine than a local client, the lack of a "foo" variable in some
scope caused the Pester test suite to emit an error at the end, failing
the PSRP build.

Removing the Clear-Variable directive eliminates this error, and is not
necessary for the Pester test itself.
2016-04-20 14:07:40 -07:00
Andy Schwartzmeyer 2e35484e31 Merge pull request #879 from PowerShell/noninteractive
Modify Set-PSBreakpoint.Tests.ps1 and fix 3 pending tests
2016-04-20 11:41:43 -07:00