Commit graph

942 commits

Author SHA1 Message Date
Andrew Schwartzmeyer
3042c6c8e5 Sort .gitmodules 2016-01-14 17:15:26 -08:00
Andrew Schwartzmeyer
bbebf2f76a Reorganize tests
- Pester source code moved to `test/Pester`, deleted `ext-src`.
- Pester tests (.ps1 files) moved to `test/powershell`
- xUnit tests (.cs files) moved to `test/csharp`
- Third-party script test moved to `test/shebang`
2016-01-14 17:00:06 -08:00
Andrew Schwartzmeyer
ec08d9f46c Move Pester test/Pester and push to GitHub 2016-01-14 16:17:50 -08:00
Andrew Schwartzmeyer
a36329e355 Bump DSC with fixes 2016-01-14 14:58:18 -08:00
Andrew Schwartzmeyer
953afd841e Move OMI PSRP provider to GitHub
Remove the `monad` prefix from its name.
2016-01-14 14:54:27 -08:00
Andrew Schwartzmeyer
19d8a6a0b2 Move monad-build to windows-build on GitHub
Better name since this submodule only has to do with the Windows build
system and generated artifacts.
2016-01-14 12:55:39 -08:00
Andrew Schwartzmeyer
895fbb8d40 Move monad to psl-monad on GitHub
- Removed more pre-processor conditionals
- Loads libpsl-native
- Pruned wmi (rewrote history)

The wmi folder was massive, and we did not need 99% of it, so a `git
filter-branch --tree-filter` was performed to remove all but the single
necessary subdirectory before pushing to GitHub.

The psl-monad repository can no longer be updated from the existing
GitSD sync. When the PSW teams have a Git repo for the monad codebase,
we will apply our patches to it and delete this fork.
2016-01-14 10:34:13 -08:00
Andrew Schwartzmeyer
ae033a5846 Move monad-native to libpsl-native on GitHub 2016-01-14 10:32:02 -08:00
Andrew Schwartzmeyer
b89766a2f0 Merge branch 'dev/start-dsc' 2016-01-12 17:38:21 -08:00
Andrew Schwartzmeyer
e732e15ba4 Bump Newtonsoft.Json to 8.0.2 2016-01-12 12:31:17 -08:00
Andrew Schwartzmeyer
864d9bec01 Update readme 2016-01-12 12:25:25 -08:00
Andrew Schwartzmeyer
ec49e37de6 Add DSC submodule from GitHub 2016-01-12 12:25:25 -08:00
Andrew Schwartzmeyer
ad637c3548 Bump OMI submodule with test fixes 2016-01-12 12:25:25 -08:00
Andrew Schwartzmeyer
b05325f6a9 Move OMI submodule to GitHub
Updated .gitmodules for new location of OMI and new working branch.

This requires running `git submodule sync`.
2016-01-12 12:25:25 -08:00
Andrew Schwartzmeyer
e6cfea5b2d Bump monad-omi-provider submodule with moved host
The monad-native submodule no longer owns a native host whatsoever, with it moved to the provider, and the provider's build system refactored to use CMake.

Because CMake is way better, even for dealing with OMI.
2016-01-12 12:25:25 -08:00
Andrew Schwartzmeyer
0c5c33f25e Bump monad-native submodule with removal of host 2016-01-12 12:25:25 -08:00
Andrew Schwartzmeyer
8ca4fdb7fd Remove stty echo workaround
Note that the run script is now entirely deprecated, since the host can be run directly.
2016-01-12 12:25:25 -08:00
Andrew Schwartzmeyer
0c4d642ac7 Remove deprecated patch script
Patching System.Console manually is no longer required.
2016-01-12 12:22:26 -08:00
Andrew Schwartzmeyer
e26b55c3d9 Use Window(Width|Height) instead of Buffer
The former is available, the latter is not. For our simple case of a
readline-esque shell on Linux, they seem equivalent. This removes the
import of libpsnative and the native calls to get terminal width/height.
2016-01-12 12:22:26 -08:00
Andrew Schwartzmeyer
735721e902 Bump .NET packages to build rc2-23712
This brings in the previously missing System.Console APIs and the fix for the echo TTY issue, fixing our remaining patches of the runtime.
2016-01-12 12:22:26 -08:00
Andrew Schwartzmeyer
a9b7928d40 Add logging to PSRP script 2016-01-12 12:22:26 -08:00
Andrew Schwartzmeyer
ca4dd87235 Fix indentation and build warning 2016-01-07 17:07:28 -08:00
Andrew Schwartzmeyer
d89b6ade92 Merge branch 'dev/nixreadline' 2016-01-06 16:54:51 -08:00
Andrew Schwartzmeyer
b270c03f50 Fix location of MOFs in DSC tests 2016-01-06 15:44:53 -08:00
Zachary Folwick
a2c7b13405 Fix ConvertTo-Csv tests
Assert that this cmdlet uses collections internally, which does not rely
on order.
2016-01-06 12:57:14 -08:00
Andrew Schwartzmeyer
be61a6449b Merge branch 'dev/cross-platform-pester' 2016-01-06 12:54:57 -08:00
v-alexjo
939d03e03d Removing Console.Writelines for debugging and modifying bounds chekcing 2016-01-06 10:44:57 -08:00
v-alexjo
1ffaf2d5b7 Fix for tab completion indexing with backspace 2016-01-06 10:44:57 -08:00
v-alexjo
f595b34374 Fixed tabcompletion index issue with buffer ending in whitespace 2016-01-06 10:44:57 -08:00
George Fleming
ed59522056 Add new pester test to clean up created file 2016-01-06 10:14:17 -08:00
George Fleming
6a40891df2 Rename cmdlets 2016-01-05 15:16:10 -08:00
George Fleming
ef6f5d06e5 Adding Get-DscConfiguration, and Get/Set-DscLocalConfiguration cmdlets 2016-01-05 12:03:22 -08:00
George Fleming
b21977bcce Enumerate WriteObject output 2016-01-04 10:28:18 -08:00
George Fleming
401abdc7e8 New pester test for Start-DscConfiguration 2016-01-04 10:27:43 -08:00
George Fleming
67b53068e1 Clean up code 2015-12-31 11:22:15 -08:00
George Fleming
07c4bec698 Refactor some code 2015-12-31 11:13:15 -08:00
George Fleming
4de201e318 process xml output 2015-12-30 16:14:05 -08:00
Andrew Schwartzmeyer
576884ed0c Fix third party library loading in JSON tests
Since we no longer have CORE_ROOT defined, but do have
AppContext.BaseDirectory from .NET
2015-12-30 10:46:54 -08:00
Zachary Folwick
a6d5b17c73 corrected Split-Path tests 2015-12-29 09:49:46 -08:00
George Fleming
e8eaf86830 New Start-DscConfiguration cmdlet 2015-12-28 16:23:09 -08:00
Zachary Folwick
1a2b29b4d1 fixed cross-platform support 2015-12-28 15:59:55 -08:00
Zachary Folwick
b54a0547b5 Changed platform OS test in Get-PSDrive tests 2015-12-28 15:43:24 -08:00
Zachary Folwick
9813d3d4b3 Removed spurious tests 2015-12-28 11:12:46 -08:00
Zachary Folwick
de2af02ff7 Environment-Variables.Tests.ps1 2015-12-28 11:05:48 -08:00
Zachary Folwick
1b4276f563 Added test to validate that fields are getting populated 2015-12-28 10:39:36 -08:00
Zachary Folwick
05989fe455 moved alias test to its own test case 2015-12-28 10:15:19 -08:00
Zachary Folwick
3eb2f5751b Merge branch 'master' into dev/cross-platform-pester 2015-12-28 10:01:39 -08:00
Andrew Schwartzmeyer
49fa9f6e43 Bump monad-native submodule with removal of host 2015-12-23 16:53:09 -08:00
Andrew Schwartzmeyer
d5f5645f4d Eliminate dependency on native host for shell
PSRP will of course still require it, but now the managed host sets up
the assembly load context, meaning we can depend on the emitted binary
from dotnet-cli.
2015-12-23 16:53:09 -08:00
Andrew Schwartzmeyer
124fe201bf Don't fail on Jenkins for lack of stty support 2015-12-23 14:07:50 -08:00