Commit 09a57ffc authored by Simon Marlow's avatar Simon Marlow
Browse files

add test for #2491

parent 273873d3
......@@ -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
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)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment