##// END OF EJS Templates
issue1577: fix broken test by assuming less about CVS output....
issue1577: fix broken test by assuming less about CVS output. Specifically, output of "cvs ci" varies unpredictably across CVS versions, so any test that includes the output of "cvs ci" is doomed to fail some of the time. This fixes that by discarding the output of "cvs ci".

File last commit:

r4729:9881abfc default
r8081:6c3b8132 default
Show More
test-ui-config.out
48 lines | 1.1 KiB | text/plain | TextLexer
/ tests / test-ui-config.out
Thomas Arendsen Hein
Allow using default values with ui.configlist, too, and add a test for this.
r2502 [('bool1', 'true'), ('bool2', 'false'), ('string', 'string value')]
[('list1', 'foo'), ('list2', 'foo bar baz'), ('list3', 'alice, bob'), ('list4', 'foo bar baz alice, bob')]
Thomas Arendsen Hein
Include section name and parameter name (if available) in config errors....
r3073 Error in configuration section [interpolation]:
'%' must be followed by '%' or '(', found: '%bad2'
Thomas Arendsen Hein
Allow using default values with ui.configlist, too, and add a test for this.
r2502 ---
'string value'
'true'
'false'
None
---
Thomas Arendsen Hein
Catch illegal boolean values in hgrc nicely....
r4729 Error in configuration section [values] parameter 'string':
Thomas Arendsen Hein
Allow using default values with ui.configlist, too, and add a test for this.
r2502 Not a boolean: string value
True
False
False
False
True
---
['foo']
['foo', 'bar', 'baz']
['alice', 'bob']
['foo', 'bar', 'baz', 'alice', 'bob']
['foo', 'bar', 'baz', 'alice', 'bob']
[]
[]
['foo']
['foo']
['foo', 'bar']
['foo', 'bar']
['foo bar']
['foo', 'bar']
---
Thomas Arendsen Hein
Include section name and parameter name (if available) in config errors....
r3073 'hallo'
'hallo world'
Error in configuration section [interpolation] parameter 'value3':
Bad value substitution:
section: [interpolation]
option : value3
key : novalue
rawval :
Error in configuration section [interpolation] parameter 'value4':
bad interpolation variable reference '%(bad)1'
Error in configuration section [interpolation] parameter 'value5':
'%' must be followed by '%' or '(', found: '%bad2'
---
Alexis S. L. Carvalho
allow values that aren't strings in util.configparser
r4069 No option 'Bar' in section: 'foo'
f == function