[GHC] #9746: tests/ghci/scripts/T8172 is sensitive to drive name on Windows

#9746: tests/ghci/scripts/T8172 is sensitive to drive name on Windows -------------------------------------+------------------------------------- Reporter: gintas | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Test Suite | Version: 7.8.3 Keywords: | Operating System: Windows Architecture: Unknown/Multiple | Type of failure: Difficulty: Unknown | None/Unknown Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- The test fails when the checkout is not on drive C:, like this: --- ./ghci/scripts/T8172.stdout-mingw32 2014-10-28 23:28:12.264410700 +0100 +++ ./ghci/scripts/T8172.run.stdout 2014-10-30 15:20:13.964595800 +0100 @@ -1,11 +1,11 @@ current working directory: - C:\ + K:\ module import search paths: . current working directory: - C:\ + K:\ module import search paths: none current working directory: - C:\ + K:\ module import search paths: / -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9746 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9746: tests/ghci/scripts/T8172 is sensitive to drive name on Windows -------------------------------------+------------------------------------- Reporter: gintas | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Test Suite | Version: 7.8.3 Resolution: | Keywords: Operating System: Windows | Architecture: Unknown/Multiple Type of failure: | Difficulty: Unknown None/Unknown | Blocked By: Test Case: | Related Tickets: Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Description changed by gintas: Old description:
The test fails when the checkout is not on drive C:, like this:
--- ./ghci/scripts/T8172.stdout-mingw32 2014-10-28 23:28:12.264410700 +0100 +++ ./ghci/scripts/T8172.run.stdout 2014-10-30 15:20:13.964595800 +0100 @@ -1,11 +1,11 @@ current working directory: - C:\ + K:\ module import search paths: . current working directory: - C:\ + K:\ module import search paths: none current working directory: - C:\ + K:\ module import search paths: /
New description: The test fails when the checkout is not on drive C:, like this: {{{ --- ./ghci/scripts/T8172.stdout-mingw32 2014-10-28 23:28:12.264410700 +0100 +++ ./ghci/scripts/T8172.run.stdout 2014-10-30 15:20:13.964595800 +0100 @@ -1,11 +1,11 @@ current working directory: - C:\ + K:\ module import search paths: . current working directory: - C:\ + K:\ module import search paths: none current working directory: - C:\ + K:\ module import search paths: / }}} -- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9746#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9746: tests/ghci/scripts/T8172 is sensitive to drive name on Windows -------------------------------------+------------------------------------- Reporter: gintas | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Test Suite | Version: 7.8.3 Resolution: | Keywords: Operating System: Windows | Architecture: Unknown/Multiple Type of failure: | Difficulty: Unknown None/Unknown | Blocked By: Test Case: | Related Tickets: Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Comment (by simonpj): So, can we just fix the test, so that it is not sensitive in this way? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9746#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9746: tests/ghci/scripts/T8172 is sensitive to drive name on Windows
-------------------------------------+-------------------------------------
Reporter: gintas | Owner:
Type: bug | Status: closed
Priority: normal | Milestone: 7.12.1
Component: Test Suite | Version: 7.8.3
Resolution: fixed | Keywords:
Operating System: Windows | Architecture:
Type of failure: None/Unknown | Unknown/Multiple
Blocked By: | Test Case:
Related Tickets: | Blocking:
| Differential Revisions:
-------------------------------------+-------------------------------------
Changes (by thomie):
* status: new => closed
* resolution: => fixed
* milestone: => 7.12.1
Comment:
Ha. I fixed this today in da84fd5475d189c39bd3e12d29f45618c92ed800, not
knowing this ticket existed.
{{{
Author: Thomas Miedema
participants (1)
-
GHC