Skip to content

Conversation

@TravisEz13
Copy link
Member

@TravisEz13 TravisEz13 commented Aug 22, 2018

PR Summary

Add Linux ScriptBlock logging test

PR Checklist

@TravisEz13 TravisEz13 requested a review from dantraMSFT August 22, 2018 01:48
Copy link
Contributor

@dantraMSFT dantraMSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than the comment; LTGM.

$null = & $powershell -NoProfile -SettingsFile $configFile -Command $testScriptPath

# Get log entries from the last 100 that match our id and are after the time we launched Powershell
$items = Get-PSSysLog -Path $SyslogFile -Id $logId -Tail 100 -Verbose -TotalCount 18
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a note that this should be update to support a separate powershell-specific log file.

@TravisEz13 TravisEz13 merged commit d6817a4 into PowerShell:master Aug 22, 2018
@TravisEz13 TravisEz13 deleted the add_linux_scriptblock_logging_test branch August 22, 2018 23:34
@TravisEz13 TravisEz13 added this to the v6.1.0 milestone Aug 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants