Francisco Gamino
135af2089a
Updating tests to install the help content before running on Windows
2016-08-10 12:19:51 -07:00
Francisco Gamino
2b1dc87774
Adding Feature tag to help tests
2016-08-10 12:19:51 -07:00
Francisco Gamino
233e75657a
Breaking down help tests for CI and Feature test runs
2016-08-10 12:19:51 -07:00
Francisco Gamino
3ed7201e21
Fixing get-help on Linux
2016-08-10 12:19:51 -07:00
Andrew Schwartzmeyer
d59710d310
Remove unimplemented Management cmdlets from Unix
...
These are not currently implemented and so should not show up as
available.
The *-Computer cmdlets are already not compiled for Unix (and so not
available), so let's not declare them in the manifest.
The Get-ComputerInfo cmdlet does not work on Unix and so should not be
made available.
Test-Connection depends on an unavailable WMI provider.
Get/Set-TimeZone are not yet ported.
2016-08-09 18:54:05 -07:00
Andrew Schwartzmeyer
280bd651c1
Remove unimplemented Utility cmdlets from Unix
...
ConvertFrom-SddlString and Unblock-File are Windows-specific cmdlets
with no equivalent on Unix.
squash! Remove Unblock-File from Unix
2016-08-09 18:53:43 -07:00
Travis Plunk
3d3e67fd4e
Merge pull request #1641 from PowerShell/LanguagePrimitiveTest
...
Add Language Primitive Test
2016-08-09 12:14:02 -07:00
TingLiu6
a50114d5da
Add Language Primitive Pester Test
2016-08-08 19:39:06 -07:00
Andrew Schwartzmeyer
5bc34eb63c
Run Trace-Command tests on CI
2016-08-08 12:11:51 -07:00
Dongbo Wang
ba2cd1d2b7
Merge pull request #1669 from andschwa/safe-hostname
...
Safe hostname
2016-08-08 11:10:53 -07:00
Andrew Schwartzmeyer
a8416d7b30
Consolidate GetUserName code
...
Once .NET Core 1.1 becomes available, we can likely remove the entirety
of CorePsExtensions.cs.
2016-08-08 10:48:59 -07:00
Dongbo Wang
9a0436b856
Merge pull request #1661 from PowerShell/dongbo/get-pssession
...
Fix if/def guards to allow engine to load WsMan and Diagnostics snapins by default when RunspaceConfiguration is used to create a runspace
2016-08-05 13:00:06 -07:00
Dongbo Wang
dc9b326587
Fix issue #1609 - Get-PSSession -computername fails on nano
...
Root cause: Microsoft.WSMan.Management and Microsoft.PowerShell.Commands.Diagnostics are not put in the default snapin list for win-ops, and thus when a runspace is created using RunspaceConfiguration, those 2 are not loaded as snapins by default, which is a behavior change compared to Nano PS.
Fix: Replace the guard 'PORTABLE' to be 'UNIX' so that they are in the default snapin list when targeting windows platform.
2016-08-05 11:20:14 -07:00
Andrew Schwartzmeyer
09e1683098
Add Ubuntu 16.04 RID
2016-08-05 10:09:40 -07:00
TingLiu6
89d24fd8ba
Add ParameterBinding Pester Test
2016-08-04 19:50:35 -07:00
Jason Shirk
f15e66b283
Merge pull request #1633 from PowerShell/revert_psedition_namechange
...
Revert the changes made in #1457 . Desktop and Core are the PowerShell Edition names. Remove Linux as edition name.
2016-08-04 12:21:12 -07:00
John Kordich
ee7356e36e
Disabling unit tests for OSX
2016-08-04 10:47:41 -07:00
John Kordich
0c7cbc1667
Adding Import-Module to MOF-Compilation tests
2016-08-04 10:47:41 -07:00
John Kordich
e0fdf1ed00
Fixing up mof compilation test script to set PSMODULEPATH properly
2016-08-04 10:47:41 -07:00
John Kordich
643533b6a8
Adding DSC MOF compilation for Linux tests
2016-08-04 10:47:41 -07:00
Manikyam Bavandla
eacfd9418c
Revert "Merge pull request #1458 from PowerShell/psedition_rename"
...
This reverts commit 042d1e99bb
, reversing
changes made to 105bf9c9ff
.
2016-08-03 15:53:31 -07:00
Jason Shirk
31b3d13e10
Merge pull request #1623 from PowerShell/jimtru/PSDriveFreeSpaceFix
...
Get-PSDrive should report proper free space on all platforms
2016-08-03 14:11:28 -07:00
Jason Shirk (POWERSHELL)
420155517a
Add serialization test of SemanticVersion
2016-08-03 13:21:42 -07:00
James Truher
1bbdaa7ea8
Change free/used calculation to be consistent across platforms
...
add a couple of tests to validate return values
2016-08-03 10:38:26 -07:00
Sergei Vorobev
b654b7d4b1
Merge pull request #1501 from PowerShell/jameswtruher/CmdletTestMigration
...
Jameswtruher/cmdlet test migration
2016-08-02 14:09:10 -07:00
James Truher
6a07b71ba6
update tests to include $IsCoreCLR rather than $IsCore
...
also fix archive test to be sure it gets the proper archive module (not the one that's somewhere in the filesystem)
2016-08-02 12:50:24 -07:00
Jason Shirk
cfba7537f3
Merge pull request #1599 from PowerShell/error-stream
...
Error stream
2016-08-02 12:15:13 -07:00
James Truher
0a18a46281
Update json tests to be more cross-plat and handle multiple invocations
...
only create the enumtest type if it doesn't exist
don't try to compare line endings on json tests which contain arrays,
formatting of the output need not be validated
2016-08-02 12:05:24 -07:00
James Truher
dd0291be09
update encoding on the test files - these are ascii
2016-08-02 12:05:24 -07:00
James Truher
7b836f99f5
create work-around for MacOS in handling wildcards
2016-08-02 12:05:24 -07:00
James Truher
0f60b69af4
Fix Get-Command tests to better handle non-Windows platforms.
...
set executable bit on Linux/MacOS as that's what determines whether something
is executable. Also simplify partial path creation, only remove up to the first
colon, so those filesystems which have a single root are treated properly
2016-08-02 12:05:24 -07:00
James Truher
96a81c626c
rename test files so they match map.json and can be found by invoke-pester
2016-08-02 12:05:24 -07:00
PowerShell Team
1d11f67376
fix two more file copy targets
...
they weren't being recognized as pester tests because they didn't have the right name
2016-08-02 12:05:24 -07:00
James Truher
176f9fb6bd
rename archive test file so it may be found by invoke-pester
2016-08-02 12:05:24 -07:00
PowerShell Team
3575eac7b3
fix typo in archive test name
...
it needs to have the correct name in order to be executed by invoke-pester
2016-08-02 12:05:24 -07:00
PowerShell Team
ce4303b873
migrated tests run clean on all platforms (locally)
2016-08-02 12:05:24 -07:00
PowerShell Team
0261372bae
remove scheduled job tests
2016-08-02 12:05:24 -07:00
PowerShell Team
43eae99276
remove scheduledjob cmdlet tests
2016-08-02 12:05:24 -07:00
PowerShell Team
7305b82b73
Add migrated files
2016-08-02 12:05:24 -07:00
PowerShell Team
721ad34c62
add missing sample archive file
2016-08-02 12:05:24 -07:00
PowerShell Team
28a06155c8
add map.json file for migration of Pester cmdlet tests
2016-08-02 12:05:24 -07:00
JumpingYang001
86bf00e48b
Add Adapter Pester Unit Test
2016-08-02 00:31:27 -07:00
Sergei Vorobev
5690b1a0d9
Add tests for Error stream
2016-08-01 18:40:51 -07:00
Jason Shirk
0513425ff9
Merge pull request #1566 from PowerShell/andschwa/chars
...
Fix PSReadLine custom key binding on Linux
2016-07-29 09:10:10 -07:00
Andrew Schwartzmeyer
9cc6673b27
Add regression tests for custom key bindings
...
Also tests capitalized key bindings, hence the need to compare case
sensitively.
2016-07-28 22:41:04 -07:00
Sergei Vorobev
dac906db3d
Skip $input type test per #1563
2016-07-28 18:02:24 -07:00
Dongbo Wang
14433e6b1f
Update project.json files to keep sync with the new MMI nuget package
2016-07-28 17:07:57 -07:00
Sergei Vorobev
a704a53f08
Make Get-Item env: case-aware on Unix
...
Fix #1196
2016-07-28 14:19:36 -07:00
Sergei Vorobev
d591871b2c
Add CI tag to SemanticVersion.Tests.ps1
2016-07-27 18:54:40 -07:00
Sergei Vorobev
06252836ea
Make 'cd' go to the HOME directory
2016-07-27 18:43:19 -07:00