tests/test-command-template.t
changeset 20008 e54a078153f7
parent 19989 c38c3fdc8b93
child 20072 6d4fda48b4e3
equal deleted inserted replaced
20007:23edc6673f0d 20008:e54a078153f7
   445   </log>
   445   </log>
   446 
   446 
   447 
   447 
   448 Error if style not readable:
   448 Error if style not readable:
   449 
   449 
   450 #if unix-permissions
   450 #if unix-permissions no-root
   451   $ touch q
   451   $ touch q
   452   $ chmod 0 q
   452   $ chmod 0 q
   453   $ hg log --style ./q
   453   $ hg log --style ./q
   454   abort: Permission denied: ./q
   454   abort: Permission denied: ./q
   455   [255]
   455   [255]
   477   [255]
   477   [255]
   478 
   478 
   479 Error if include fails:
   479 Error if include fails:
   480 
   480 
   481   $ echo 'changeset = q' >> t
   481   $ echo 'changeset = q' >> t
   482 #if unix-permissions
   482 #if unix-permissions no-root
   483   $ hg log --style ./t
   483   $ hg log --style ./t
   484   abort: template file ./q: Permission denied
   484   abort: template file ./q: Permission denied
   485   [255]
   485   [255]
   486   $ rm q
   486   $ rm q
   487 #endif
   487 #endif