Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 5,400
    • Issues 5,400
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 590
    • Merge requests 590
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell CompilerGlasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #22351
Closed
Open
Issue created Oct 25, 2022 by doyougnu@doyougnuDeveloper0 of 15 checklist items completed0/15 checklist items

JavaScript Backend: fix "improper shell usage errors" in testsuite

Description

The JS backend produces a lot of failures in the testsuite that look like:

Wrong exit code for T10955dyn()(expected 0 , actual 2 )
Stderr ( T10955dyn ):
--- /dev/null	2022-10-10 09:23:06.946692095 +0200
+++ "/tmp/ghctest-64akgqpm/test   spaces/testsuite/tests/haddock/perf/haddock_parser_perf.run/haddock_parser_perf.run.stderr.normalised"	2022-10-11 21:43:49.522168985 +0200
@@ -0,0 +1,2 @@
+egrep: warning: egrep is obsolescent; using grep -E
+egrep: warning: egrep is obsolescent; using grep -E
--- /dev/null	2022-10-10 09:23:06.946692095 +0200
+++ "/tmp/ghctest-64akgqpm/test   spaces/testsuite/tests/haddock/perf/haddock_renamer_perf.run/haddock_renamer_perf.run.stderr.normalised"	2022-10-11 21:43:49.885502306 +0200
@@ -0,0 +1,2 @@
+egrep: warning: egrep is obsolescent; using grep -E
+egrep: warning: egrep is obsolescent; using grep -E

Should be an easy fix.

Impacted Tests

  • cabal01
  • cabal03
  • cabal04
  • cabal05
  • cabal06
  • cabal08
  • cabal09
  • cabal10
  • bkpcabal01
  • bkpcabal02
  • bkpcabal03
  • bkpcabal04
  • bkpcabal05
  • bkpcabal06
  • bkpcabal07
Edited Oct 25, 2022 by doyougnu
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking