[Checkins] SVN: zc.recipe.rhrc/trunk/src/zc/recipe/rhrc/README.txt
Regression test for exception string formatting bug
John Murphy
jackie at zope.com
Mon Feb 18 10:51:08 EST 2008
Log message for revision 84024:
Regression test for exception string formatting bug
Changed:
U zc.recipe.rhrc/trunk/src/zc/recipe/rhrc/README.txt
-=-
Modified: zc.recipe.rhrc/trunk/src/zc/recipe/rhrc/README.txt
===================================================================
--- zc.recipe.rhrc/trunk/src/zc/recipe/rhrc/README.txt 2008-02-18 14:57:12 UTC (rev 84023)
+++ zc.recipe.rhrc/trunk/src/zc/recipe/rhrc/README.txt 2008-02-18 15:51:07 UTC (rev 84024)
@@ -688,3 +688,30 @@
Uninstalling zoperc.
Running uninstall recipe.
--del acme
+
+Regression Tests
+================
+
+Exception formatting bug
+------------------------
+
+If we do not provide a runscript, we get an exception:
+
+ .. >>> write('buildout.cfg',
+ .. ... """
+ .. ... [buildout]
+ .. ... parts = zoperc
+ .. ...
+ .. ... [zoperc]
+ .. ... recipe = zc.recipe.rhrc
+ .. ... parts = zope
+ .. ... dest = %(dest)s
+ .. ...
+ .. ... [zope]
+ .. ... """ % dict(dest=demo))
+ .. >>> print system('bin/buildout'),
+ .. Installing zoperc.
+ .. zc.recipe.rhrc: Part zope doesn't define run-script and /demo/zope doesn't exist.
+ .. While:
+ .. Installing zoperc.
+ .. Error: No script for zope
More information about the Checkins
mailing list