Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
09a57ffc
Commit
09a57ffc
authored
Aug 13, 2008
by
Simon Marlow
Browse files
add test for #2491
parent
273873d3
Changes
2
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/cabal/Makefile
View file @
09a57ffc
...
...
@@ -32,6 +32,10 @@ ghcpkg01 :
@
:
#
test3.pkg depends on testpkg-2.0
$(LOCAL_GHC_PKG01)
register test3.pkg
@
:
#
unregistering testpkg-2.0 should fail now
,
testpkg-3.0 depends on it
if
$(LOCAL_GHC_PKG01)
unregister testpkg-2.0
;
then
false
;
else
true
;
fi
$(LOCAL_GHC_PKG01)
unregister
testpkg-3.0
$(LOCAL_GHC_PKG01)
unregister
testpkg-2.0
...
...
testsuite/tests/ghc-regress/cabal/ghcpkg01.stderr
View file @
09a57ffc
ghc-pkg: unregistering testpkg-2.0 would break the following packages: testpkg-3.0 (use --force to override)
ghc-pkg: dependency testpkg-2.0 doesn't exist (use --force to override)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment