Skip to content
Snippets Groups Projects
Commit 6467a48e authored by Ben Gamari's avatar Ben Gamari Committed by Marge Bot
Browse files

testsuite: Prevent T16318 from picking up .ghci

Previously this test did nothing to prevent GHC from reading .ghci due
to the `-e` arguments. Consequently it could fail due to multiple
reloadings of DynFlags while evaluating .ghci.
parent 4cdf8b5e
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,6 @@ test_pe = test-package-environment
T16318:
"$(GHC_PKG)" latest base > $(test_pe)
"$(TEST_HC)" $(TEST_HC_OPTS) -v1 -package-env $(test_pe) -e "putStrLn \"Hello\"" > out 2>&1
"$(TEST_HC)" $(TEST_HC_OPTS) -v1 -ignore-dot-ghci -package-env $(test_pe) -e "putStrLn \"Hello\"" > out 2>&1
C=`cat out | grep "Loaded package environment" -c` ; \
if [ $$C != "1" ]; then false; fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment