Commit graph

632 commits

Author SHA1 Message Date
Andrew Schwartzmeyer cb93392de2 Update readme 2015-11-06 11:55:50 -08:00
Andrew Schwartzmeyer 87a8ea683e Document dependencies 2015-11-06 11:55:50 -08:00
Zach Folwick f343982b84 Merge pull request 262 from dev/host-culture-tests into develop
Merge dev/host-culture-tests to develop
2015-11-06 19:39:00 +00:00
Zach Folwick a75b978113 Merge pull request 251 from dev/export-alias into develop
added export-alias basic tests
2015-11-06 19:27:20 +00:00
Alex Jordan 6595d6b532 Get-UICulture Pester Test should return a CultureInfo on CorePS instead of VistaCultureInfo 2015-11-06 07:46:40 +00:00
Alex Jordan 1e8de5b568 Added pester tests for Get-Culture, Get-Host, Get-UICulture 2015-11-06 07:19:04 +00:00
Andy Schwartzmeyer 2569e481fb Merge pull request 255 from dev/fixtests into develop
Use HOME instead of HOSTNAME for environment tests
2015-11-05 18:18:29 +00:00
Andrew Schwartzmeyer 7cda20517e Use HOME instead of HOSTNAME for environment tests
Because HOSTNAME can be tricky, but HOME is always set.
2015-11-05 10:11:38 -08:00
Andy Schwartzmeyer 6b7262a0d8 Merge pull request 253 from dev/history into develop
Fix for history
2015-11-05 17:32:06 +00:00
George Fleming aeabd5aa53 Fix for history 2015-11-05 09:30:09 -08:00
Andy Schwartzmeyer 7a77539b50 Merge pull request 244 from dev/host into develop
Merge dev/host to develop
2015-11-05 17:16:11 +00:00
Andrew Schwartzmeyer 2557e8c278 Repin monad-native with fixes 2015-11-04 21:29:45 -08:00
Zachary Folwick 298ac17a07 added export-alias basic tests 2015-11-04 16:43:29 -08:00
Andrew Schwartzmeyer db338c2b9a Fix Pester tests
These fail with the improved console because $input is already defined.
2015-11-04 15:13:21 -08:00
Andrew Schwartzmeyer f411d056c2 Update monad and monad-build submodules 2015-11-04 15:09:29 -08:00
Andrew Schwartzmeyer 392f9b0cd1 Prepend existing LD_LIBRARY_PATH
Though it's rarely ever set.
2015-11-04 15:09:29 -08:00
Andrew Schwartzmeyer bf28474f32 Fix monad-run
Use a non-interactive tty with monad-run, add monad-attach to run
without a tty
2015-11-04 15:09:29 -08:00
Andrew Schwartzmeyer cbcf974e57 Execute *.ps1 arguments as scripts 2015-11-04 15:09:29 -08:00
Andrew Schwartzmeyer f8bd1243b6 Clean up 2015-11-04 15:09:29 -08:00
Andrew Schwartzmeyer 391371e753 Enable PowerShell profiles
Added default PSL_profile.ps1 script, with rule to copy to expected
location (which is the same location of the PowerShell libraries).

Copied from Host06 example the code which loads the profile.

Made HostUtilities available to powershell.exe.
2015-11-04 15:09:29 -08:00
Andrew Schwartzmeyer 751676e3a5 Small clean up 2015-11-04 15:09:29 -08:00
Andrew Schwartzmeyer 3812359153 Fix exception reporting 2015-11-04 15:09:29 -08:00
Andrew Schwartzmeyer c3b6ff1b4e Clean up main.cs 2015-11-04 15:09:29 -08:00
Andrew Schwartzmeyer 8dcb769bb7 Fix xUnit tests
Moved the xUnit tests build rules to their own Makefile, included by
monad-build/Makefile.

Temporarily introduced POWERSHELL_HOST to reenable running of
xunit.console.netcore.exe until this is built-in to the native
powershell host.
2015-11-04 15:09:29 -08:00
Andrew Schwartzmeyer eb816dd147 Rename ps_test to xunit-tests 2015-11-04 15:09:29 -08:00
Andrew Schwartzmeyer 043016e72d Update Makefile to use powershell.exe 2015-11-04 15:09:29 -08:00
Andrew Schwartzmeyer cf2a58cad9 Fix monad-build/Makefile for powershell.exe rename 2015-11-04 15:09:29 -08:00
Andrew Schwartzmeyer 8f9042a151 Fix host Makefile for file renames 2015-11-04 15:09:29 -08:00
Andrew Schwartzmeyer a5720e9198 Remove powershell-simple from Makefile 2015-11-04 15:09:29 -08:00
Andrew Schwartzmeyer d12052cdc0 Move custom host Makefile out of monad-build 2015-11-04 15:09:29 -08:00
Andrew Schwartzmeyer e378bb7f7d Rename powershell-run to host
Because this is our custom host for PowerShell on Linux.
2015-11-04 15:09:29 -08:00
Andrew Schwartzmeyer 2a4c01b965 Rename powershell-run to powershell
It is now the only shell.
2015-11-04 15:09:29 -08:00
Andrew Schwartzmeyer 963648babe Delete powershell-simple
Deprecated for powershell-run
2015-11-04 15:09:29 -08:00
Zach Folwick f87e32d285 Merge pull request 235 from dev/convertto-csv into develop
Added test to validate ConvertTo-Csv
2015-11-04 17:17:04 +00:00
Andy Schwartzmeyer 8a7eef57b6 Merge pull request 247 from dev/isexecutable into develop
New xunit tests for domainname and isexecutable
2015-11-03 22:07:08 +00:00
George Fleming af00ffc4db adding submodules 2015-11-03 13:55:31 -08:00
George Fleming efefcad0f8 New xunit tests for domainname and isexecutable 2015-11-03 11:51:59 -08:00
Zachary Folwick e884990d61 added additional tests to ConvertTo-Csv tests 2015-11-03 11:44:51 -08:00
Andrew Schwartzmeyer 06be397283 Fix ConvertFrom-Csv failure 2015-11-02 15:26:14 -08:00
Andy Schwartzmeyer 337cfe552b Merge pull request 242 from dev/console-args into develop
made powershell work with additional argument logic
2015-11-02 23:22:55 +00:00
Zach Folwick c07a94ef24 Merge pull request 240 from dev/fix-pester into develop
Use $here to avoid 'cd $(PESTER)'
2015-11-02 23:22:04 +00:00
Andrew Schwartzmeyer 0b6adb68ee Use $here to avoid 'cd $(PESTER)'
Per the Pester examples: https://github.com/pester/Pester/blob/master/Examples/Calculator/Add-Numbers.Tests.ps1
2015-11-02 15:20:31 -08:00
Andy Schwartzmeyer 5e0982030e Merge pull request 243 from dev/submodules into develop
Repin monad (and monad-ext)
2015-11-02 23:19:13 +00:00
Andrew Schwartzmeyer 1564ebc5b5 Repin monad (and monad-ext) 2015-11-02 15:12:37 -08:00
George Fleming a7418ff660 Merge pull request 238 from dev/symlink into develop
Add tests for FQDN and SymLink
2015-11-02 23:08:27 +00:00
Zachary Folwick fe3608da57 made powershell work with additional argument logic 2015-11-02 15:04:40 -08:00
Andrew Schwartzmeyer 05f59d15b1 Untabify Json.Tests 2015-11-02 14:06:58 -08:00
Andy Schwartzmeyer 8c640e50c3 Merge pull request 241 from dev/json into develop
Add Json.NET Pester tests
2015-11-02 21:53:11 +00:00
Zach Folwick 349b4e8381 Merge pull request 229 from dev/convertfrom-csv into develop
added ConvertFrom-Csv tests
2015-11-02 21:52:14 +00:00
Zachary Folwick ccc873b45f made changes according to PR 2015-11-02 13:45:39 -08:00