Mercurial > hg
diff tests/test-trusted.py.out @ 31472:75e4bae56068
config: honour the trusted flag in ui.configbytes
author | Martijn Pieters <mjpieters@fb.com> |
---|---|
date | Sun, 12 Mar 2017 11:43:31 -0700 |
parents | c4040a35b5d9 |
children | 73ccba60aaa1 |
line wrap: on
line diff
--- a/tests/test-trusted.py.out Wed Mar 15 20:43:12 2017 -0700 +++ b/tests/test-trusted.py.out Sun Mar 12 11:43:31 2017 -0700 @@ -177,3 +177,19 @@ ('foo', '.hg/hgrc:1') # same user, same group ('foo', '.hg/hgrc:1') + +# access typed information +# different user, different group +not trusting file .hg/hgrc from untrusted user abc, group def +# suboptions, trusted and untrusted +(None, []) ('main', [('one', 'one'), ('two', 'two')]) +# path, trusted and untrusted +None .hg/monty/python +# bool, trusted and untrusted +False True +# int, trusted and untrusted +0 42 +# bytes, trusted and untrusted +0 84934656 +# list, trusted and untrusted +[] ['spam', 'ham', 'eggs']