Commit Graph

4077 Commits

Author SHA1 Message Date
Jason Shirk
bc8d537884 Merge pull request #2067 from JamesWTruher/jameswtruher/testgapfile-002
Fill more gaps in cmdlet test coverage
2016-09-01 11:16:32 -07:00
coderdad
c531098f3b Working directory fix for googletest submodule update (#2151)
* Working directory fix for submodule update

The git submodule update for googletest must be run from the script's root directory

* Added try-finally block around Push-Location

Great recommendation from @vors! 

The edit is a best practice incase the user Ctrl-C's out of the script. 

Tested locally by exiting out of: 
try { Push-Location C:\Users\; Start-Sleep -Seconds 60 } finally { Pop-Location }
2016-08-31 19:42:27 -07:00
Josh Soref
1ad8dec8d2 spelling: display messages (#2135)
spelling: resource strings (display messages and comments)
2016-08-31 14:35:28 -07:00
Sergei Vorobev
1638bdf3e6 Merge pull request #2063 from jsoref/spelling-test
spelling fixes: tests
2016-08-31 14:13:49 -07:00
Jason Shirk
cf18010ad5 Fix multi-line input w/ redirected stdin (#2090)
The input loop reading from stdin did not handle multi-line input correctly
because it was adding a newline character where none was expected.

The fix was to not include the final newline character to accept input,
just like Console.ReadLine or PSReadline would.
2016-08-31 13:52:46 -07:00
Dave Wyatt
22aac12c3e Add support for multiple paths to Join-Path
Multiple child paths can be specified via the new positional parameter -AdditionalChildPath.
2016-08-31 13:48:31 -07:00
Keith Mosher
77a37f7773 Add powershell to /etc/shells (#1939)
Manages /etc/shells with after (un)install scripts for CentOS and Ubuntu

Fixes #1913
2016-08-31 13:16:11 -07:00
Dongbo Wang
35f046a8df Merge pull request #2139 from TravisEz13/AddDailyBuild
Add support for running all tests on scheduled builds
2016-08-31 13:12:46 -07:00
Travis Plunk
0d5ae4692b Add support for running all tests on scheduled builds
Only produce nuget packages if tests pass
2016-08-31 13:02:35 -07:00
Travis Plunk
55f78781e9 Add message to make it clear what tests are running 2016-08-31 12:17:19 -07:00
Travis Plunk
a814e6660c Mark failing test as pending 2016-08-31 12:17:07 -07:00
Josh Soref
28b8eece67 spelling fixes: demos (#2060) 2016-08-31 11:05:35 -07:00
Dongbo Wang
61255447a0 Merge pull request #2099 from akkatracker/patch-2
its to it's where appropriate in MessageTextBox.Generated.cs
2016-08-30 20:32:49 -07:00
James Truher
4dc09f504c change throw message 2016-08-30 16:52:00 -07:00
James Truher
2824e136cb update exception messages 2016-08-30 16:15:10 -07:00
James Truher
3ceca01b64 address some review feedback 2016-08-30 16:15:10 -07:00
James Truher
f4ed351f86 fix typos in test descriptions 2016-08-30 16:15:10 -07:00
James Truher
6aac4976fb Add simple runspace debugging tests 2016-08-30 16:15:10 -07:00
James Truher
9c99bdbef9 Add new debugging tests which are based on existing earlier non-Pester tests 2016-08-30 16:15:10 -07:00
James Truher
d3a177d6ae Add simple securestring conversion cmdlet tests 2016-08-30 16:15:10 -07:00
James Truher
52ba25be69 Add simple Enable-PSBreakpoint and Disable-PSBreakpoint cmdlet tests 2016-08-30 16:15:10 -07:00
James Truher
763fe2bdbf fix missing ";" in Streams.Clear 2016-08-30 16:15:10 -07:00
James Truher
f6ae238641 quiet the start-process tests by redirecting all output 2016-08-30 16:15:10 -07:00
James Truher
01c495b5e6 Change Import-PowerShellDataFile tag to CI and simplify tests 2016-08-30 16:15:10 -07:00
James Truher
c610ea7941 Add Set-Date test 2016-08-30 16:15:10 -07:00
James Truher
e639240ecb Add set-Date test
this one is a bit tricky, unless you're elevated you can't set the date
however, if you are not elevated you should get an error. This file
does one or the other based on whether you're elevated
2016-08-30 16:15:10 -07:00
James Truher
feae8e4b2d add read-host tests 2016-08-30 16:15:10 -07:00
Sergei Vorobev
f12c936803 Merge pull request #2106 from jsoref/spelling-debug
spelling: debug

- Fix spelling in debug asserts and tracing
- Fix telemetry event name for PackageManagement
2016-08-30 15:45:46 -07:00
Travis Plunk
73d8e344c0 Merge pull request #2128 from TravisEz13/AddDailyBuild
Made AppVeyor and TravisCI use similar code
2016-08-30 12:05:48 -07:00
Travis Plunk
d03acd7fd8 Ignore test results 2016-08-30 11:47:40 -07:00
Travis Plunk
6f1d1877de Address comments
Made AppVeyor and TravisCI use similar code
2016-08-30 11:47:40 -07:00
Aleksandar Nikolić
6c1b7f6007 Rename readme.md to README.md (#2131)
Fix casing.
2016-08-30 10:08:56 -07:00
Dongbo Wang
901af51e3c Merge pull request #2102 from akkatracker/patch-5
its to it's where appropriate in comments in Microsoft.PowerShell.Arc…
2016-08-29 23:18:12 -07:00
Dongbo Wang
da8cc47532 Merge pull request #2101 from akkatracker/patch-4
its to it's where appropriate in MshTraceSource.cs
2016-08-29 23:17:02 -07:00
Dongbo Wang
659e2e7bd3 Merge pull request #2100 from akkatracker/patch-3
its to it's where appropriate in ResourceManagerCache.cs
2016-08-29 23:08:18 -07:00
Travis Plunk
414cbe77a1 redirect mc error messages to stdout 2016-08-29 19:50:44 -07:00
Travis Plunk
3bd6a3ec99 Removed travis-ci branch restriction now that we are using forks 2016-08-29 19:50:44 -07:00
Josh Soref
ffd64a697e assert 2016-08-30 02:49:17 +00:00
Ryan Yates
3fd3fec10a Added info on the community Powershell slack team (#2062)
* Added info on the community Powershell slack team

* Revised update about Slack team to readme.md

* remove unneeded where

* Adds a line break before the gitter badge

* added missing full stops (periods)
2016-08-29 19:30:23 -07:00
KaliszAd
e7e82ede96 Added Debian compatibility notice (#2010)
Ubuntu 16.04 LTS is very similar to Debian 9 Strech (now in testing). I can confirm, the instructions work and PS will install successfully.
2016-08-29 19:28:26 -07:00
Andrew Schwartzmeyer
1a8b4e94e8 Clone 1000 commits on Travis CI (#2124)
The previous failure we saw was because the most recent annotated tag
did not exist in the previous 50 commits. In my experience we've gone
about ~300 commits between tags, so I believe 1000 to be safe, but know
100 will not be.
2016-08-29 19:26:15 -07:00
Dongbo Wang
cc9f2570d6 Merge pull request #2105 from jsoref/spelling-comments
Spelling comments
2016-08-29 18:13:37 -07:00
Dongbo Wang
10ce1788a8 Merge pull request #2125 from alexandair/patch-3
Update and rename readme.md to README.md
2016-08-29 16:51:00 -07:00
Dongbo Wang
b03ad0e215 Merge pull request #2126 from alexandair/patch-4
update REST demo to fix function name
2016-08-29 16:47:34 -07:00
Dongbo Wang
52e274f644 Publish nuget packages for 'Microsoft.WSMan.Management' and 'Microsoft.WSMan.Runtime' (#2119) 2016-08-29 19:01:38 -04:00
Andrew Schwartzmeyer
1734305b62 Merge pull request #2121 from TravisEz13/AddDailyBuild
Refactor PowerShell code from AppVeyor.yml to AppVeyor.psm1
2016-08-29 18:38:35 -04:00
Aleksandar Nikolić
151c45cbb5 update REST demo to fix function name
Fix the function name to follow Verb-SingularNoun naming convention.
2016-08-30 00:37:35 +02:00
Aleksandar Nikolić
f0f3afb6a6 Update and rename readme.md to README.md
Fix typos and reword the description.
2016-08-30 00:28:14 +02:00
Travis Plunk
b7c373280c Fix issues identified in Pull Request comments 2016-08-29 14:52:50 -07:00
Sajay Antony
6342448bb9 Added libcurl3 Docker dependency (#2104)
Fixes #2103
2016-08-29 17:41:55 -04:00