Skip to content

Fix "parse error expected" test hang on Ubuntu 16.04 #2278

@andyleejordan

Description

@andyleejordan

Steps to reproduce

Start-PSPester on Ubuntu 16.04 (passes on 14.04).

Expected behavior

Test to pass.

Actual behavior

   Context Parse error expected: <<class A : C {}; class B : A {}; class C : B {}>>
    [!] error should happen at parse time, not at runtime 54ms

Tests don't continue.

Environment data

> $PSVersionTable
Name                           Value                                                              
----                           -----                                                              
PSVersion                      6.0.0-alpha                                                        
PSEdition                      Core                                                               
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                            
BuildVersion                   3.0.0.0                                                            
GitCommitId                    v6.0.0-alpha.9                                                     
CLRVersion                                                                                        
WSManStackVersion              3.0                                                                
PSRemotingProtocolVersion      2.3                                                                
SerializationVersion           1.1.0.1                                                            

Failing test is test/powershell/Language/LanguageTestSupport.psm1 which is added and touched by cb08681 and 312ec5f.

Metadata

Metadata

Labels

Issue-BugIssue has been identified as a bug in the productOS-LinuxWG-Quality-Testissues in a test or in test infrastructure

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions