Title: Support `-Unelevated` for tests on UNIX · Issue #6246 · PowerShell/PowerShell · GitHub
Open Graph Title: Support `-Unelevated` for tests on UNIX · Issue #6246 · PowerShell/PowerShell
X Title: Support `-Unelevated` for tests on UNIX · Issue #6246 · PowerShell/PowerShell
Description: Windows tests currently support running as -Unelevated (since Windows tests always expect to be initiated as elevated). We should consider something similar for non-Windows. It could be as simple as running the tests under sudo, creating...
Open Graph Description: Windows tests currently support running as -Unelevated (since Windows tests always expect to be initiated as elevated). We should consider something similar for non-Windows. It could be as simple a...
X Description: Windows tests currently support running as -Unelevated (since Windows tests always expect to be initiated as elevated). We should consider something similar for non-Windows. It could be as simple a...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/6246
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support `-Unelevated` for tests on UNIX","articleBody":"Windows tests currently support running as `-Unelevated` (since Windows tests always expect to be initiated as elevated). We should consider something similar for non-Windows. It could be as simple as running the tests under sudo, creating non-root account and running the tests under that account. However, I'm concerned about requiring tests to be run under `sudo` all the time.\r\n\r\n- [ ] Update [docs](https://github.com/PowerShell/PowerShell/blob/master/docs/testing-guidelines/WritingPesterTests.md#admin-privileges-in-tests)\r\n\r\ncc @JamesWTruher ","author":{"url":"https://github.com/SteveL-MSFT","@type":"Person","name":"SteveL-MSFT"},"datePublished":"2018-02-26T16:23:10.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/6246/PowerShell/issues/6246"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:aa378b13-84c5-d798-4a81-62354040cf2f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 83EC:364C95:222B2D:2E6F35:6A551607 |
| html-safe-nonce | ecbd21b34a2107fbe981a3252ddbae6e2dda91aa0506e70b356b6a4f8ba1346e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4M0VDOjM2NEM5NToyMjJCMkQ6MkU2RjM1OjZBNTUxNjA3IiwidmlzaXRvcl9pZCI6IjY3Mzc5MzExMjc5NDcwNzMwMzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 97139c92bc7fe54a6648574b1261aadd435cd4132358b54bc41db80aa3c23ab0 |
| hovercard-subject-tag | issue:300303049 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/6246/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1582ca39ce1c1fa9e928763d3526ef41580e6ce9e29800a46e8100527b47daca/PowerShell/PowerShell/issues/6246 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1582ca39ce1c1fa9e928763d3526ef41580e6ce9e29800a46e8100527b47daca/PowerShell/PowerShell/issues/6246 |
| og:image:alt | Windows tests currently support running as -Unelevated (since Windows tests always expect to be initiated as elevated). We should consider something similar for non-Windows. It could be as simple a... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | SteveL-MSFT |
| hostname | github.com |
| expected-hostname | github.com |
| None | 682d273eacb2ac51680c6eb9c0b270f029f7ce74c32090f319083c34497e28a5 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3b6d37c6470adadff4194742daaab9a817cc4980 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width