Opened 6 years ago

Closed 6 years ago

#5575 closed bug (fixed)

spacesInArgs(ghci) fails on linux

Reported by: Owned by:
Priority: normal Milestone:
Component: Test Suite Version: 7.3
Keywords: Cc:
Operating System: Linux Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


=====> spacesInArgs(ghci) 2863 of 3047 [3, 12, 0]
cd ./driver && '/home/dafis/GHC/bghc/bindisttest/install dir/bin/ghc' -fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -no-user-package-conf -rtsopts -fno-ghci-history  spacesInArgs.hs --interactive -v0 -ignore-dot-ghci +RTS -I0.1 -RTS   <spacesInArgs.genscript 1>spacesInArgs.interp.stdout 2>spacesInArgs.interp.stderr
Actual stdout output differs from expected:
--- ./driver/spacesInArgs.stdout	2011-10-22 11:33:18.169091002 +0200
+++ ./driver/	2011-10-22 15:07:24.194761001 +0200
@@ -1,4 +1,6 @@
 Arg: "a   b"
 Arg: "c   d"
-Arg: "e   f"
-Arg: "g   h"
+Arg: "'e"
+Arg: "f'"
+Arg: "'g"
+Arg: "h'"
*** unexpected failure for spacesInArgs(ghci)

Sigh :( Why doesn't windows strip the double quotes off the args?

Change History (1)

comment:1 Changed 6 years ago by igloo

Resolution: fixed
Status: newclosed

Thanks for the report; I've fixed it by removing the single-quoted arguments:

commit 8acc9192c36ebf002345aac325f4d0d66599cc09
Author: Ian Lynagh <>
Date:   Sun Oct 23 17:18:55 2011 +0100

    Fix spacesInArgs(ghci). trac #5575
    I don't think we want to support using '' (rather than "") to quote
Note: See TracTickets for help on using tickets.