Commit graph

1304 commits

Author SHA1 Message Date
Andrew Schwartzmeyer
6382bfb069 Enable Add-Type test on Windows
Resolves #606.
2016-03-04 15:55:55 -08:00
Andrew Schwartzmeyer
a93e77d6c9 Import Platform module in pester.sh for Travis 2016-03-04 15:46:54 -08:00
Andrew Schwartzmeyer
2fbc07fa72 Import Platform module on AppVeyor 2016-03-04 15:44:39 -08:00
Andy Schwartzmeyer
55f5b33d8e Merge pull request #622 from PowerShell/invoke-history
Fix Invoke-History of a native command
2016-03-04 15:36:54 -08:00
George Fleming
dbe06ac2d7 Bump monad submodule with Invoke-History fix 2016-03-04 15:25:14 -08:00
Andrew Schwartzmeyer
0c6b14adab Programmatic indentation and whitespace-cleanup of tests 2016-03-04 14:52:27 -08:00
Andrew Schwartzmeyer
0aaf74bdcc Convert Pester tests to ASCII
Instead of UTF-8 with BOM.

Resolves #417.
2016-03-04 14:48:30 -08:00
Andrew Schwartzmeyer
901160cb78 Fix Get-Location tests
These should never have passed.
2016-03-04 14:42:36 -08:00
Andrew Schwartzmeyer
15f8433d98 Use $PSScriptRoot instead of assigning $here 2016-03-04 14:42:08 -08:00
Andrew Schwartzmeyer
c37a0c4a64 Increase New-TimeSpan difference to reduce errant failures 2016-03-04 14:41:33 -08:00
Andrew Schwartzmeyer
579287c53d Fix ExecutionPolicy tests to -Skip instead of return 2016-03-04 14:40:51 -08:00
Andrew Schwartzmeyer
4feb665203 Update PSVersionTable tests for PSEdition 2016-03-04 14:40:33 -08:00
Andrew Schwartzmeyer
615eca6fd5 Use -Skip:$IsWindows
Uses the $IsWindows etc. booleans from the Microsoft.PowerShell.Platform
module instead of sourcing Test-Common repeatedly.
2016-03-04 14:39:18 -08:00
Andrew Schwartzmeyer
de6a452f63 Pester test formatting cleanups 2016-03-04 14:38:01 -08:00
Andrew Schwartzmeyer
7673c4e90f Add Microsoft.PowerShell.Platform module
- Exports the IsCore, IsLinux, IsOSX, and IsWindows variables
- Imported by the default PSL profile
- Can be used automatically in Pester tests and Open PowerShell sessions
- Should maybe become a default module once it is polished
- PowerShellGitHubDev module does not explicitly use it because on
  FullCLR PowerShell (normal Windows development) it will not be
  imported automatically
2016-03-04 12:11:01 -08:00
Andrew Schwartzmeyer
c94ad6c97c Bump OMI and provider submodules
Emergency fix for recursive cloning.

The OMI branch had been rebased upstream and not simultaneously fixed
here.
2016-03-04 10:50:54 -08:00
Andy Schwartzmeyer
b3d43ef842 Merge pull request #615 from PowerShell/merge-sd
Bump monad and windows-build with Source Depot changes
2016-03-04 10:47:17 -08:00
Andrew Schwartzmeyer
7857f13165 Skip SymbolicLink tests on Windows
On Windows, making symbolic links requires administrator access, so
let's skip it.
2016-03-03 18:09:52 -08:00
Andrew Schwartzmeyer
19d5b2b53a Bump monad and windows-build with Source Depot changes
Resolves #610.
2016-03-03 18:09:52 -08:00
Andy Schwartzmeyer
4bbeb5e495 Merge pull request #620 from PowerShell/fix-xunit
Workaround dotnet/corefx#6603
2016-03-03 17:47:56 -08:00
Andrew Schwartzmeyer
da9c58828e Workaround dotnet/corefx#6603 2016-03-03 17:02:07 -08:00
Andy Schwartzmeyer
394437a2e6 Merge pull request #619 from PowerShell/pending
Ignore failing Add-Type test
2016-03-03 15:07:36 -08:00
Andrew Schwartzmeyer
aca021aaad Don't cache NuGet packages on AppVeyor
Because the resulting archive is too big, so AppVeyor wastes time making
it and testing it, and then refuses to upload it.
2016-03-03 13:57:31 -08:00
Andrew Schwartzmeyer
d253a4e483 Make Add-Type test -Pending until it passes on Windows 2016-03-03 13:46:35 -08:00
Andy Schwartzmeyer
cdd0e9daef Merge pull request #601 from PowerShell/newitem
Modify New-Item to support Symbolic Link on Linux
2016-03-01 16:32:14 -08:00
George Fleming
134ccef8c0 Remove directory symlink first to avoid broken symlink issues 2016-03-01 15:57:16 -08:00
George Fleming
d622477073 Change order of delete to get around broken symlink issue 2016-03-01 15:57:16 -08:00
George Fleming
5ab50a183f New test for symlink of directory 2016-03-01 15:57:16 -08:00
George Fleming
b1edc1f039 Bump monad 2016-03-01 15:57:11 -08:00
George Fleming
c02b29847f Bump libpsl-native 2016-03-01 15:56:00 -08:00
Andy Schwartzmeyer
37d457f56c Merge pull request #602 from PowerShell/pipes
Clean up usage of pipes, as it causes crashes in debugger sub-prompt
2016-03-01 15:53:15 -08:00
George Fleming
95cea5155b cleanup per andschwa comment 2016-03-01 15:33:29 -08:00
Andy Schwartzmeyer
a7418ca6cf Merge pull request #605 from PowerShell/updates
Bump packages and fix dependencies
2016-03-01 15:25:15 -08:00
Andrew Schwartzmeyer
96be23da1e Add simple regression test for Add-Type 2016-03-01 14:28:17 -08:00
Andrew Schwartzmeyer
fd9140f9f8 Update CorePsTypeCatalog 2016-03-01 13:25:31 -08:00
Andrew Schwartzmeyer
3abbf62428 Fix TypeCatalogGen script 2016-03-01 13:25:31 -08:00
Andrew Schwartzmeyer
855891dc12 Clean up TypeCatalogGen dependencies
Pin to stable packages and use `net45` moniker instead of DNX.
2016-03-01 13:25:31 -08:00
Andrew Schwartzmeyer
da9f5068aa Update runtime facade with additional packages
This had gotten out of date since it is a manual process.
2016-03-01 13:25:31 -08:00
Andrew Schwartzmeyer
744e1e2fbb Add System.Xml.XDocument dependency to host
This resolves #604 but leaves an open question of why the package is
required at runtime, but not at compile-time.
2016-03-01 13:25:31 -08:00
Andrew Schwartzmeyer
9f88341db1 Remove trailing comma from project.json 2016-03-01 13:21:32 -08:00
Andrew Schwartzmeyer
ee7ea8011d Bump CLI to 1.0.0.001598 2016-03-01 12:27:55 -08:00
Andrew Schwartzmeyer
840c634d5e Bump .NET packages to 23829 2016-03-01 12:26:30 -08:00
George Fleming
ab3203916b Clean up usage of pipes, as it causes crashes in debugger sub-prompt 2016-02-29 09:51:26 -08:00
Andy Schwartzmeyer
8b79d3d22d Merge pull request #600 from JumpingYang001/master
Add note when building on WS2012R2
2016-02-27 10:15:51 -08:00
JumpingYang001
8329960ffe Add note when building on WS2012R2 2016-02-27 19:51:53 +08:00
Andy Schwartzmeyer
614c3f0623 Merge pull request #599 from PowerShell/updates
Bump packages
2016-02-26 14:57:38 -08:00
Andrew Schwartzmeyer
9402c68c57 Fix Start-Sleep Pester tests 2016-02-26 13:11:14 -08:00
Andrew Schwartzmeyer
27f38f161c Bump monad with DataTable removal 2016-02-26 12:26:28 -08:00
Andrew Schwartzmeyer
a67a0ca122 Add System.Threading.Thread package
Now needed to use the `Thread` type.
2016-02-26 12:26:28 -08:00
Andrew Schwartzmeyer
2518b0ab3f Bump .NET packages to 23826 2016-02-26 12:26:28 -08:00