summaryrefslogtreecommitdiff
path: root/testsuite/tests
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2011-07-20 09:44:44 +0100
committerSimon Marlow <marlowsd@gmail.com>2011-07-20 09:54:19 +0100
commit6594600c394b6550eb6913ec139b4b90d4474544 (patch)
tree944ebfddf8cd1a5a8c7609c72a76c1ab8e9e2501 /testsuite/tests
parent3019b1e409c129ef7af63e6a7408fb36ec44444b (diff)
downloadhaskell-6594600c394b6550eb6913ec139b4b90d4474544.tar.gz
fix 5313(threaded2)
Diffstat (limited to 'testsuite/tests')
-rw-r--r--testsuite/tests/ghc-regress/driver/all.T2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/ghc-regress/driver/all.T b/testsuite/tests/ghc-regress/driver/all.T
index 2c8d4d9a69..130bf3b24b 100644
--- a/testsuite/tests/ghc-regress/driver/all.T
+++ b/testsuite/tests/ghc-regress/driver/all.T
@@ -304,7 +304,7 @@ test('dynHelloWorld',
# simple test that we can load and use the GHC package in all ways
# (in #5313 it was failing the dyn way)
p = subprocess.Popen([config.compiler, "--print-libdir"], stdout=subprocess.PIPE)
-libdir = p.stdout.read()
+libdir = chop(p.stdout.read())
p.stdout.close
test('5313', extra_run_opts(libdir), compile_and_run, ['-package ghc'])