summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/all.T
diff options
context:
space:
mode:
authorAndreas Klebinger <klebinger.andreas@gmx.at>2019-08-09 12:38:40 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-08-14 16:56:20 -0400
commitaa4d8b07edad74c29acdcf06cf1b4c3ff6b97ffa (patch)
treec458b79db124ea3f6d451e2a49ead16f0289ca21 /testsuite/tests/ghci/scripts/all.T
parenta38104b4df092d2155f61e9785e92ceb268b7e5f (diff)
downloadhaskell-aa4d8b07edad74c29acdcf06cf1b4c3ff6b97ffa.tar.gz
Use os.devnull instead of '/dev/null' in the testsuite driver.
The later caused issues on windows by being translated into "\\dev\\null" and python then trying to open this non-existant file. So we now use os.devnull inside python and convert it to "/dev/null" when calling out to the shell, which is bound to run in a unix like environment. This fixes an issue a test producing unexpected stderr output failed with a framework failure instead of showing a diff of the output.
Diffstat (limited to 'testsuite/tests/ghci/scripts/all.T')
0 files changed, 0 insertions, 0 deletions