Commit graph

1220 commits

Author SHA1 Message Date
Andrew Schwartzmeyer
5671a1113d Add CentOS 7.1 runtime 2016-03-07 15:31:08 -08:00
Andy Schwartzmeyer
9b5ec220b0 Merge pull request #633 from PowerShell/new-packages
Update .NET packages and CLI
2016-03-07 15:16:03 -08:00
Andrew Schwartzmeyer
57181103cf Bump .NET CLI to build 1638 2016-03-07 14:17:31 -08:00
Andrew Schwartzmeyer
24eaf8bad8 Add newly required packages
These packages are new requirements as of the 23907 build due to
refactoring of the .NET libraries.
2016-03-07 14:17:31 -08:00
Andrew Schwartzmeyer
faec94ffcf Add Microsoft.NETCore.Unsupported.Platform.API package
This package contains the Windows runtime assemblies of packages that
are not actually supported on Linux. The assemblies exist in the Linux
runtime folder. While the code cannot be executed, this allows
PowerShell to use the Windows specific types in its function calls
without crashing (and allows compiling with these types in the first
place). This is *not* an ideal work-around, but we are waiting on a
better package from .NET that contains Linux runtime assemblies that
throw `PlatformNotSupported` exceptions on use.
2016-03-07 14:17:31 -08:00
Andrew Schwartzmeyer
93f8a3360f Bump versions of upgraded packages
These packages had their minor and patch versions updated in addition to
the updated build number.
2016-03-07 13:59:11 -08:00
Andrew Schwartzmeyer
e12f5a427e Bump .NET packages to 23907 2016-03-07 13:59:11 -08:00
Andy Schwartzmeyer
38698545ca Merge pull request #630 from PowerShell/test-osx
Bump libpsl-native with OS X fixes
2016-03-07 13:26:23 -08:00
Andrew Schwartzmeyer
876a3164b8 Bump libpsl-native with OS X fixes 2016-03-04 20:02:46 -08:00
Andy Schwartzmeyer
299ee6af2e Merge pull request #628 from PowerShell/osx-ping
Fix Start-Process tests
2016-03-04 17:53:15 -08:00
Andrew Schwartzmeyer
0df9b76322 Fix Start-Process tests
OS X's ping command requires the flags to be specified before the
arguments. I also reduced the ping count so that the tests execute a bit
faster. This resolves #556.
2016-03-04 17:35:13 -08:00
Andy Schwartzmeyer
15f5e3a2fe Merge pull request #624 from PowerShell/hardlink
Add ability to create hardlinks on Linux
2016-03-04 17:31:46 -08:00
George Fleming
43508acc18 Add src/monad 2016-03-04 16:51:40 -08:00
George Fleming
3849c9256e Add src/libpsl-native 2016-03-04 16:51:24 -08:00
George Fleming
e52da3b1e5 Add hardlink test for New-Item 2016-03-04 16:51:24 -08:00
Andy Schwartzmeyer
4b744189d0 Merge pull request #623 from PowerShell/xplat-pester
Add Microsoft.PowerShell.Platform module
2016-03-04 16:43:30 -08:00
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