Commit graph

1281 commits

Author SHA1 Message Date
Andy Schwartzmeyer 21401f852e Merge pull request #641 from PowerShell/docs
Update readme and known issues
2016-03-08 10:13:39 -08:00
Andrew Schwartzmeyer 2c649d51f1 Update readme and known issues
[ci skip]
2016-03-08 10:12:28 -08:00
Andy Schwartzmeyer 5336083921 Merge pull request #640 from PowerShell/dev/jumping
Fixed Pester Get-Location test
2016-03-08 01:06:18 -08:00
Jumping Yang a504defbb9 Fixed Pester Get-Location test 2016-03-08 14:55:30 +08:00
Andy Schwartzmeyer 0748910278 Merge pull request #635 from PowerShell/rpm
Add CentOS 7.1 support
2016-03-07 22:02:57 -08:00
Andy Schwartzmeyer 8ee4bf1340 Merge pull request #634 from PowerShell/merge-sd
Bump monad and windows-build submodules with SD updates
2016-03-07 20:59:07 -08:00
Andrew Schwartzmeyer 05ef797849 Add -Clean switch to Start-PSBuild
And use full names of cmdlets.
2016-03-07 16:43:05 -08:00
Andrew Schwartzmeyer 4e76a6261f Validate -Runtime 2016-03-07 16:43:05 -08:00
Andrew Schwartzmeyer e349704fa1 Add Start-PSPackage -Type switch to build any output
If not specified, "deb" is used as default on Linux. This should be
updated to check the distribution and required package build
dependencies.

Dependency names switched per package type, since specific package names
are different. Should check if this causes an issue on OS X when the
names are empty.
2016-03-07 16:43:05 -08:00
Andrew Schwartzmeyer 9c41d1eff7 Bump monad and windows-build submodules with SD updates 2016-03-07 16:35:22 -08:00
Andrew Schwartzmeyer e1c0f68098 Add switch to Start-PSBuild any specific -Runtime
Much better argument passing to CLI. Thanks @vors.
2016-03-07 16:08:50 -08:00
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