forked from PowerShell/PowerShell
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add '-settingsfile' to 'pwsh' to support loading a custom powershell …
…config file. (PowerShell#5920) Support loading a custom `powershell.config.json` file via the command-line for use in testing. This change supports replacing the default `powershell.config.json` file that's usually loaded from the `PSHome` directory with a custom version file. The primary use-cases for this command-line option are as follows: 1. Allow the CI system to disable settings that impact test run times; such as disabling syslog usage on Linux and MacOS 2. Support testing of syslog and os_log without interfering with normal PowerShell operations during test runs via launching an instance with custom log settings.
- Loading branch information
1 parent
a36d58c
commit 4366280
Showing
5 changed files
with
191 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.