summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci
diff options
context:
space:
mode:
authornineonine <mail4chemik@gmail.com>2022-01-28 00:29:01 -0800
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-02-05 19:21:49 -0500
commit299acff08aa1b7b720ad2b69c459c514033bc395 (patch)
tree12cf8090a0b6a405b49a29aeefa47a24f3883452 /testsuite/tests/ghci
parent6af8e71ed7e749ba94e7a7eaf8b2229341bf35da (diff)
downloadhaskell-299acff08aa1b7b720ad2b69c459c514033bc395.tar.gz
Exit with failure when -e fails (fixes #18411 #9916 #17560)
Diffstat (limited to 'testsuite/tests/ghci')
-rw-r--r--testsuite/tests/ghci/scripts/T10508.stderr2
-rw-r--r--testsuite/tests/ghci/scripts/T10508.stdout2
-rw-r--r--testsuite/tests/ghci/scripts/T14676.stderr2
-rw-r--r--testsuite/tests/ghci/scripts/T14676.stdout2
4 files changed, 4 insertions, 4 deletions
diff --git a/testsuite/tests/ghci/scripts/T10508.stderr b/testsuite/tests/ghci/scripts/T10508.stderr
index 8cbcb2936d..89392b3ea8 100644
--- a/testsuite/tests/ghci/scripts/T10508.stderr
+++ b/testsuite/tests/ghci/scripts/T10508.stderr
@@ -8,3 +8,5 @@
In the first argument of ‘return’, namely ‘id’
In the expression: return id
In the second argument of ‘(.)’, namely ‘(\ _ -> return id)’
+unknown command ':macro'
+use :? for help.
diff --git a/testsuite/tests/ghci/scripts/T10508.stdout b/testsuite/tests/ghci/scripts/T10508.stdout
index c6c8d3a447..d2a5eee71e 100644
--- a/testsuite/tests/ghci/scripts/T10508.stdout
+++ b/testsuite/tests/ghci/scripts/T10508.stdout
@@ -2,5 +2,3 @@
1
2
0
-unknown command ':macro'
-use :? for help.
diff --git a/testsuite/tests/ghci/scripts/T14676.stderr b/testsuite/tests/ghci/scripts/T14676.stderr
new file mode 100644
index 0000000000..c99d0900d5
--- /dev/null
+++ b/testsuite/tests/ghci/scripts/T14676.stderr
@@ -0,0 +1,2 @@
+File Notfound.hs not found
+Module NotFound not found
diff --git a/testsuite/tests/ghci/scripts/T14676.stdout b/testsuite/tests/ghci/scripts/T14676.stdout
index c3e9fbd6b4..9c1e707676 100644
--- a/testsuite/tests/ghci/scripts/T14676.stdout
+++ b/testsuite/tests/ghci/scripts/T14676.stdout
@@ -1,3 +1 @@
-File Notfound.hs not found
-Module NotFound not found
prog002/A1.hs