Zach Folwick
a1e3981b6e
Merge pull request 122 from dev/112-split-path-pester into develop
2015-08-29 03:14:38 +00:00
Andrew Schwartzmeyer
92cd86d3f2
Ignore Remove-Item errors in Split-Path setup
2015-08-28 20:13:10 -07:00
Andrew Schwartzmeyer
7b1280eb2e
Refactor Split-Path regexp test
...
Fix issues with ordering etc.
2015-08-28 17:40:15 -07:00
Andrew Schwartzmeyer
5bdae5f77e
Merge branch 'develop' into dev/112-split-path-pester
2015-08-28 17:39:08 -07:00
Zachary Folwick
534de9d15f
Match array instead of testing elements
...
So that we can ignore the ordering from the regexp
2015-08-28 17:03:42 -07:00
Zachary Folwick
10c772829d
fixed unordering of files created during test
2015-08-28 16:06:27 -07:00
Andy Schwartzmeyer
60a1772a43
Merge pull request 133 from dev/164-GetComputerName-cherry into develop
2015-08-28 21:47:39 +00:00
Andrew Schwartzmeyer
6a88fe52aa
Fix GetComputerName xUnit test and repin monad
2015-08-28 14:45:56 -07:00
Zachary Folwick
93199735d8
added unit test for getting the machine name from the p/invoke
2015-08-28 14:35:04 -07:00
Zach Folwick
04e829ab6e
Merge pull request 121 from dev/182-remove-item into develop
2015-08-28 20:52:51 +00:00
Andy Schwartzmeyer
e68785ea26
Merge pull request 132 from dev/193-repin-monad into develop
2015-08-28 17:15:23 +00:00
Andrew Schwartzmeyer
913b5a97d0
Pin src/monad to develop-2015-08-28
...
Build files updated. Patches squashed and rebased.
2015-08-28 10:12:27 -07:00
Zachary Folwick
8501e6e4ab
fixing issue with errorAction not suppressed- produces false positives on the test logs
2015-08-26 15:55:44 -07:00
Zachary Folwick
8456bf9d4d
added modifications from code review.
2015-08-26 15:13:12 -07:00
Zachary Folwick
95ae8fd343
merging latest remote develop branch
...
Merge branch 'develop' of mshttps://msostc.visualstudio.com/DefaultCollection/PS/_git/monad-linux into dev/182-remove-item
2015-08-26 14:53:06 -07:00
Zachary Folwick
f8179859b1
bringing submodules up to date
2015-08-26 14:34:44 -07:00
Zachary Folwick
f475db96cb
using a created temp directory instead of the root temp directory.
2015-08-26 14:30:02 -07:00
Zachary Folwick
38c1047eba
Added logic to handle failing jenkins test
2015-08-26 12:56:38 -07:00
Zachary Folwick
f4ea2ba4f8
added tests from CR
2015-08-26 11:17:52 -07:00
Zachary Folwick
df2a4939ed
added code review changes
2015-08-26 10:53:36 -07:00
Zachary Folwick
1c1c1dacaa
turned repeated string into a variable
2015-08-25 10:15:21 -07:00
Zachary Folwick
f919006d46
re-ordered tests to indicate a logical progression to facilitate
...
debugging
added tests to validate individual environmental variables
2015-08-24 15:05:32 -07:00
Zachary Folwick
ed86ae170e
added tests to validate individual environmental variables
2015-08-24 14:47:06 -07:00
Zachary Folwick
f739305502
deleted superfluous assertion
2015-08-24 13:54:13 -07:00
Zachary Folwick
a0ba3b6b8f
modified to work under jenkins
2015-08-24 13:39:24 -07:00
Zachary Folwick
1d447bd470
updating branch
...
Merge branch 'develop' of mshttps://msostc.visualstudio.com/DefaultCollection/PS/_git/monad-linux into dev/171-environmental-variable-test-bug
2015-08-24 13:05:16 -07:00
Zachary Folwick
972734cbc8
Merge branch 'develop' of ms https://msostc.visualstudio.com/DefaultCollection/PS/_git/monad-linux into dev/112-split-path-pester
...
Conflicts:
src/monad
2015-08-24 11:48:22 -07:00
Zachary Folwick
4ded5c5cd9
added environment variable tests
2015-08-24 11:38:32 -07:00
Andrew Schwartzmeyer
1a3d4aa9a6
Refactor host usage
...
Build scripts and powershell-simple.cs were refactored to work with the
patch to CoreCLR and updated hosting code.
- Paths in Makefile were fixed because the hosting code runs the
assembly from the current working directory (usually app_base)
- runps scripts were all fixed because the hosting code CLI changed
- powershell-simple.cs was cleaned up because its Main function is now
directly executed
- monad submodule was repinned while we had the change
- monad-ext submodule was updated with rebuild CoreCLR binaries
- monad-native submodule was repinned to development, including fixed
test and hosting code changes
2015-08-21 17:43:46 -07:00
Zachary Folwick
8091785240
Fixed whitespace and directory test assertions
2015-08-21 15:57:34 -07:00
Zachary Folwick
95e932d6d0
removed AfterEach block because it's not required
2015-08-21 15:51:27 -07:00
Zachary Folwick
632a11a6c6
fixed typo using parent switch
2015-08-21 14:58:34 -07:00
Zachary Folwick
8458e5779e
brought in submodule changes and modded test to not expect the / to be removed in the path
2015-08-21 14:34:00 -07:00
Zachary Folwick
4f4cbbac2e
added tests to get working in linux
2015-08-20 11:49:01 -07:00
Zachary Folwick
2689741ddc
added support for PSL to remove qualifiers correctly
2015-08-17 15:07:00 -07:00
Zachary Folwick
4862e6cfd8
added more tests to more thoroughly test split-path
2015-08-17 15:03:14 -07:00
Andrew Schwartzmeyer
40ba6c214e
Fix GetUserName unit test
...
A deadlock was occurring when executing `whoami` through
System.Diagnostics.Process because we were calling `WaitForExit()`
before `StandardOutput.ReadToEnd()`. According to the documentation, "To
avoid deadlocks, always read the output stream first and then wait,"
which is what we do here now.
Additionally, `Process` implements IDisposable, and is now automatically
disposed via the `using` block.
https://msdn.microsoft.com/en-us/library/system.diagnostics.process.standardoutput(v=vs.110).aspx
https://msdn.microsoft.com/en-us/library/System.Diagnostics.Process(v=vs.110).aspx
2015-08-13 15:45:13 -07:00
Zachary Folwick
5968e97eaa
changed PowerShell code to get Split-Path -Qualifier working in linux
2015-08-13 11:40:07 -07:00
Zachary Folwick
fd75d29628
changed ParsePathCommand.cs to get Split-Path unit tests to pass
2015-08-11 16:03:00 -07:00
Andrew Schwartzmeyer
864e32f331
Merge branch 'develop' into dev/fix-nuget
2015-08-11 08:59:28 -07:00
Andrew Schwartzmeyer
c9e1b6cbb1
Use NuGet APIv3
2015-08-11 08:56:29 -07:00
Andrew Schwartzmeyer
8d34bbea0a
Repin monad and monad-native
2015-08-10 13:37:17 -07:00
Andrew Schwartzmeyer
095ef2c385
Assert GetUserName unit test against whoami
2015-08-07 16:56:19 -07:00
Andrew Schwartzmeyer
b1ef23d707
Merge branch 'develop' into dev/67-GetUserName
2015-08-07 16:00:59 -07:00
Zach Folwick
5979596de2
Merge pull request 109 from dev/153-format-list-tests into develop
2015-08-07 21:51:42 +00:00
Zachary Folwick
749a92dff8
made string calls more precise
2015-08-07 14:52:19 -07:00
Andrew Schwartzmeyer
d35e13afdb
Fix list of props test and merge cruft
2015-08-07 14:39:17 -07:00
Zachary Folwick
6ef2590331
merged changes from upstream
2015-08-07 14:25:38 -07:00
Zachary Folwick
fd8a9d25ac
added a beforeEach clause
2015-08-07 14:12:40 -07:00
Andrew Schwartzmeyer
f4e84a84bd
Refactor and add tests
2015-08-07 14:07:03 -07:00