Andrew Schwartzmeyer
b0cd7ba3dc
Clean up libpsl-native headers
2016-10-14 15:30:19 -07:00
Steve Lee
001f6ecf72
Addressing static analysis issue ( #2486 )
...
* Addressing static code analysis issue from TFS:8328091
* Addressing code review feedback
* Fixed build break
* Addressing static analysis issue TFS:8328091
2016-10-14 15:12:17 -07:00
wangzq
1cc0ef6141
Save file as UTF8 with BOM ( Fixes #2476 ) ( #2477 )
2016-10-14 13:13:50 -07:00
Dongbo Wang
e240c0cb32
Make Pester skip the redirection test for '[Encoding]::Default' instead of ignoring it, so that we can keep track of this encoding issue
2016-10-14 10:02:44 -07:00
Dongbo Wang
139b399223
Fix test failures due to changes in .NET Core and the exclusion of 'Certificate' provider in UNIX PS
2016-10-14 10:02:44 -07:00
Dongbo Wang
f02b6ef97a
Exclude 'Registry' and 'Certificate' providers from UNIX PS since they don't work on UNIX platform.
...
With this change, 'Registry' and 'Certificate' providers won't be compiled for UNIX PS.
2016-10-14 10:02:44 -07:00
Dongbo Wang
d0c60e049d
Avoid calling static members from 'Microsoft.Win32.Registry' on UNIX, especially the code that would run in TypeInitializer.
...
This is because with the latest .NET Core packages (1.1.0 preview), calling static members from 'Microsoft.Win32.Registry' will raise 'PlatformNotSupportedException'.
2016-10-14 10:02:44 -07:00
Dongbo Wang
a1aac43f1b
Update build.psm1 to not remove IL assemblies after crossgen because the latest dotnet.exe checks the existence of all TPA assemblies, including those built from the local projects
2016-10-14 10:02:44 -07:00
Dongbo Wang
2e402cfef1
Update powershell to depend on latest dotnet core packages (preview1-24530-04 from 9/30/2016)
2016-10-14 10:02:44 -07:00
Steve Lee
9e47ad4733
Addressing static code analysis issue ( #2470 )
...
* Addressing static code analysis issue: Add CultureInfo to 'Type.InvokeMember' calls
* Addressing code review feedback
* Fixed build break
2016-10-13 14:46:21 -07:00
Christopher Ubben
c0f1d85e99
Added feature level test coverage to Registry provider ( #2417 )
2016-10-12 14:58:22 -07:00
Aditya Patwardhan
98710a80f0
Add badge for nightly builds ( #2455 )
...
Add the badge for nightly builds with a link to the build page.
2016-10-12 13:34:24 -07:00
iSazonov
6a62969f77
Add Invoke-Item deterministic Windows tests ( #2443 )
...
* Add Invoke-Item deterministic tests
2016-10-12 13:33:16 -07:00
Francisco Gamino
ccffe0755f
Skipping New-PSRoleCapabilityFile and Get-PSSessionCapability on help system test since there is no help content for these two cmdlets ( #2464 )
2016-10-12 12:17:51 -07:00
Francisco Gamino
d717458e7d
Fixing get-help <cmdletName> -online for .NET Core on Desktop. ( #2174 )
...
In PS Core on windows, we try to locate the default web browser and use it for online help. If we cannot find the default web browser (in NanoServer/IoT), we error out.
2016-10-12 12:16:32 -07:00
Andrew Schwartzmeyer
14690f20cc
Commit copies of bootstrap.ps1 for automated builds ( #2458 )
...
While this is copied by `launch.sh`, it needs to exist in
each folder for the automated Docker hub builds.
2016-10-11 13:56:42 -07:00
Andrew Schwartzmeyer
5748a0ac1a
Fix Docker repos ( #2457 )
2016-10-11 13:15:24 -07:00
Steve Lee
b056b6d36d
Merge pull request #2454 from andschwa/rename-containers
...
Rename "stable unstable" containers to "release nightly"
2016-10-11 11:38:15 -07:00
Andrew Schwartzmeyer
a66e8f3602
Rename "stable unstable" containers to "release nightly"
...
This change is made at the request of the PowerShell committee,
as the use of "stable" implied more stability than available with alpha
releases. This also changes the images from existing under one repo to
two: powershell/powershell and powershell/powershell-nightly.
The documentation and script have been updated.
2016-10-11 11:13:48 -07:00
Paul Higinbotham
3815482082
Fix host remote test InvokeOnRunspace to work with AppVeyor ( #2362 )
...
* Fix host remote test InvokeOnRunspace to work with AppVeyor
* Updated to use new local account for remoting tests.
* Set the LocalAccountTokenFilterPolicy as needed.
* Adding verbose messages for debugging.
* Storing creds using Export-CliXml
* Added CITravis skip for Windows only remoting test
* Moving tests back to 'Feature' scope
* Added AppVeyor environment variable check to prevent account creation on non-appveyor configurations
* Removed It block in BeforeAll block
* Moving tests back to 'Feature'
2016-10-10 15:24:04 -07:00
James Truher [MSFT]
b211f5f59b
Add query to track action plan in issues ( #2439 )
...
fix ActionPlan list to be formatted correctly
2016-10-10 18:55:31 +00:00
Mike Richmond
e188c992e8
Fixing JSON property accessor to attempt user settings directory creation on the first write operation
2016-10-07 21:45:38 -07:00
iSazonov
6ef590dee3
Fix Get-WinEvent -FilterHashtable to work with named event data field ( #2373 )
...
Fix Get-WinEvent -FilterHashtable to work with named event data field
Now FilterHashtable parameter in Get-WinEvent for named data field:
1. generates a valid query, ex. @{Logname="System";Param="a"}
2. generates a valid query for multiple values, ex.
@{Logname="System";Param="a","b"}
Also removed double cast in the original code and added more tests to cover the fixed scenarios.
2016-10-07 11:48:08 -07:00
Christopher Ubben
62d7961aa8
Added feature level test coverage to FileSystem provider ( #2416 )
2016-10-07 10:36:13 -07:00
Joey Aiello
3873ff1227
Add PowerShell-RFC link to README ( #2431 )
...
* Update README.md
* Update README.md
since we're being pedantic :)
2016-10-06 11:26:13 -07:00
James Truher [MSFT]
b89533f123
First draft of test roadmap plan ( #2332 )
...
Add test roadmap plan document
Update document with clarifying language for code coverage
Also add an acceptance criteria for remoting tests
include Jenkins with mention of MS Build Lab for possible test infrastructure
2016-10-05 16:50:35 -07:00
Dongbo Wang
e078b0acb7
Use 'CurrentCulture' for error message and update test to clean up resources
2016-10-05 16:18:50 -07:00
charub
d2feb51132
Added testcase for validating invalid filepath scenario. ( #1749 )
2016-10-05 16:18:50 -07:00
charub
6526968947
Fix Start-Transcript input path validation issues. ( #1749 )
2016-10-05 16:18:50 -07:00
charub
88d64c243e
Fix Start-Transcript input path validation ( #1749 )
2016-10-05 16:18:50 -07:00
Christopher Ubben
5da825bdb1
Added feature level test coverage to Alias provider ( #2419 )
2016-10-05 14:46:52 -07:00
Andrew Schwartzmeyer
4298f11fa4
Fix VS Code debug output ( #2425 )
2016-10-05 10:47:33 -07:00
Christopher Ubben
0e190e0bb8
Added feature level test coverage to PSDrive provider ( #2418 )
2016-10-04 13:11:33 -07:00
Andrew Schwartzmeyer
cc8842c631
Add .NET Core debug build instructions ( #2410 )
...
These are thanks to Eric St John from .NET Core.
2016-10-04 13:10:19 -07:00
Dongbo Wang
13455204a4
Fix variable assignment to not overwrite readonly/constant variables ( #2400 )
2016-10-03 15:25:52 -07:00
Dongbo Wang
5fbde6eb40
Fix bytewise operators to work on enum types with 'System.Byte' as the underlying type ( #2411 )
2016-10-03 15:24:39 -07:00
Andrew Schwartzmeyer
f62dd4bf54
Allow Start-PSBuild -Output to take absolute path ( #2398 )
...
There was no point to using Join-Path here,
but it made it impossible to specify absolute paths
(or any path outside of the PowerShell repo).
2016-10-03 11:04:40 -07:00
Chris Ubben
9885917481
Adding test coverage for Variable provider
2016-10-03 10:39:32 -07:00
Aditya Patwardhan
3700d108b3
Start process test ( #2397 )
...
Mark test as pending to unblock daily builds
2016-09-30 16:33:42 -07:00
Aditya Patwardhan
877c193af0
Add RequireAdminOnWindows tag for install-package tests ( #2390 )
...
Add the tag RequireAdminOnWindows tags so that these tests do not fail on
daily builds.
2016-09-29 18:13:33 -07:00
Mike Richmond
374e1d1b21
Merge pull request #2280 from vors/admin-tests
...
Separate tests on Windows CI to Admin-Required and Non-Admin-Required
2016-09-29 16:28:29 -07:00
Aditya Patwardhan
f1270cdc28
Add PS_DAILY_BUILD variable check in Test-DailyBuild ( #2386 )
...
The PS_DAILY_BUILD variable is set in the Appveyor environment in the
PowerShell [Daily] project. When this is set we want to have full daily
build.
2016-09-29 16:26:34 -07:00
James Truher [MSFT]
24f9dea287
Add tests for queries against userdata ( #2388 )
...
add a custom evtx file for the userdata tests to use
2016-09-29 16:23:12 -07:00
Sergei Vorobev
9cc905dea4
Add verbose comment about the execution policy test
...
'-Scope LocalMachine is Settable, but overridden'
2016-09-29 16:06:42 -07:00
Aditya Patwardhan
561824c306
Change fwlink to use http instead of https.
...
An issue was filed for corefx team for httpclient.getasync with https and
redirects. https://github.com/dotnet/corefx/issues/12171
2016-09-29 12:39:56 -07:00
Aditya Patwardhan
f31d4a5ac2
Add archive with test content to AppVeyor artifacts for daily builds.
...
The change adds Compress-TestContent cmdlet to build.psm1 so that it can
compress the powershell test content. This is done only for daily builds.
2016-09-29 12:38:12 -07:00
Sergei Vorobev
735bcca4d0
Allow ExecutionPolicy tests to throw specific type of error
...
Split LocalMachine test case into two separate tests:
- One without overriden policy (throws exception)
- One with overriden policy
2016-09-29 12:29:27 -07:00
Sergei Vorobev
a1ee6d840d
Make ExecutionPolicy.Tests.ps1 admin-aware
2016-09-29 12:29:27 -07:00
Sergei Vorobev
06d274995e
Make LocalGroup tests admin-aware
2016-09-29 12:29:27 -07:00
Sergei Vorobev
5fe1c431fa
Make Get-PesterTag allow only one scope tag (CI, Feature, Priority)
2016-09-29 12:29:27 -07:00