summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghci/scripts')
-rw-r--r--testsuite/tests/ghci/scripts/T18330.stdout5
-rwxr-xr-xtestsuite/tests/ghci/scripts/all.T2
-rw-r--r--testsuite/tests/ghci/scripts/ghci021.stderr2
3 files changed, 6 insertions, 3 deletions
diff --git a/testsuite/tests/ghci/scripts/T18330.stdout b/testsuite/tests/ghci/scripts/T18330.stdout
index c020ae7dbb..c95aa0e11b 100644
--- a/testsuite/tests/ghci/scripts/T18330.stdout
+++ b/testsuite/tests/ghci/scripts/T18330.stdout
@@ -1,5 +1,6 @@
-GHCi, version 9.3.20210616: https://www.haskell.org/ghc/ :? for help
-ghci> [1 of 1] Compiling Main ( shell.hs, interpreted )
+GHCi, version 9.3.20211019: https://www.haskell.org/ghc/ :? for help
+ghci> [1 of 2] Compiling Main ( shell.hs, interpreted )
+[2 of 2] Linking shell
Ok, one module loaded.
ghci> ghci> [1 of 1] Compiling T18330 ( T18330.hs, interpreted )
Ok, one module loaded.
diff --git a/testsuite/tests/ghci/scripts/all.T b/testsuite/tests/ghci/scripts/all.T
index 884df5a811..d90051d26f 100755
--- a/testsuite/tests/ghci/scripts/all.T
+++ b/testsuite/tests/ghci/scripts/all.T
@@ -350,3 +350,5 @@ test('T7388', normal, ghci_script, ['T7388.script'])
test('T20627', normal, ghci_script, ['T20627.script'])
test('T20473a', normal, ghci_script, ['T20473a.script'])
test('T20473b', normal, ghci_script, ['T20473b.script'])
+test('T20587', [extra_files(['../shell.hs'])], ghci_script,
+ ['T20587.script'])
diff --git a/testsuite/tests/ghci/scripts/ghci021.stderr b/testsuite/tests/ghci/scripts/ghci021.stderr
index ea7488174e..2e5a3d5a0e 100644
--- a/testsuite/tests/ghci/scripts/ghci021.stderr
+++ b/testsuite/tests/ghci/scripts/ghci021.stderr
@@ -1,2 +1,2 @@
-<no location info>: no such module: ‘ThisDoesNotExist’
+<no location info>: error: no such module: ‘main:ThisDoesNotExist’