GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||
GeezerVison is showing github.com — Enable WSManCredSSP cmdlets by SteveL-MSFT · Pull Request #4336 · PowerShell/PowerShell Conversation
Steve Lee (SteveL-MSFT)
force-pushed
the
credssp
branch
from
74ca739 to
b049a00
Compare
Steve Lee (SteveL-MSFT)
requested a review
from Aditya Patwardhan (adityapatwardhan)
Member
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Mike Richmond (mirichmo)
suggested changes
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why were these two checks removed?
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
|
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Ca you rename this variable to remove the initial "g"?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
can do
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Why were these two checks removed?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
check happens twice
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
RequireNotAdminOnWindows)
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Why are these tests separated into separate files? We have been grouping tests for each cmdlet into a single file.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I suppose I can combine them. I thought to separate them because at least one test case requires non-admin.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Just tried it combined and start-pspester only ran the tests as elevated so that one test gets skipped. I'll have to have the non-admin tests as separate.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Actually it appears you have explicitly run start-pspester with -unelevated. I'll have to take care of this myself in the script then.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
The same comments apply to this file as well
Sorry, something went wrong.
There was an error while loading. Please reload this page.
b049a00 to
f8612e2
Compare
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
this is redundant from line 486
Sorry, something went wrong.
There was an error while loading. Please reload this page.
1e9b8af to
a06b389
Compare
|
CI failure is due to one of the same failures in the nightly run unrelated to this PR. I'll fix that first. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Please check for en-US before comparing.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
will fix
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Same as above
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
will fix
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Same as above.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
will fix
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Same as above
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
will fix
Sorry, something went wrong.
There was an error while loading. Please reload this page.
1501d34 to
c74be60
Compare
|
Mike Richmond (@mirichmo) Aditya Patwardhan (@adityapatwardhan) feedback addressed |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Mike Richmond (@mirichmo) can you complete your review? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
As a general rule when using this pattern, a test that is skipped in an environment should not execute any code.
Lines 11 through 15 should not be executed if the test is skipped. Putting them in an else {} would solve this problem.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
741fef2 to
0f93089
Compare
|
Mike Richmond (@mirichmo) Can you rebase, it should fix the test failures. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
0f93089 to
7d1c523
Compare
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
All the CredSSP tests are now passing in AppVeyor and Travis. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Hi All, Thanks |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Luis Toledo (@ltamaster) CredSSP is only supported on Windows |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Steve Lee (@SteveL-MSFT) It seems PowerShell docs haven't "Supported platforms: Windows, Linux, MacOS" in cmdlet's descriptions. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Ilya (@iSazonov) can you point me to the docs that say it's supported on Linux/macOS? Don't see that line here I think the error message is technically correct as that cmdlet doesn't exist on non-Windows. It's a generic error message if a cmdlet is not found, so implying it's |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Steve Lee (@SteveL-MSFT) I agree that we can leave the generic message "as is" if we enhance our docs.
It is just my request to enhance our docs - add new section "Supported platforms". |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
* [Feature] Fixed error message using a null resourcemanager With most recent CoreFx supporting STA, removed special CoreClr code paths Added test coverage Removed some dead commented out code that was never used * [Feature] merged tests to one file, use runas to have relevant tests run as non-elevated * [Feature] Get-CredSSP returns text so only run that test if current culture is en-US * [Feature] Update test to fix code exclusion * [Feature] Fix Skipping on test cases that already had a Skip value
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.