##// END OF EJS Templates
test-command-template: enable for Windows
Adrian Buehlmann -
r16917:bebe376b default
parent child Browse files
Show More
@@ -1,5 +1,3 b''
1 $ "$TESTDIR/hghave" unix-permissions || exit 80
2
3 $ hg init a
1 $ hg init a
4 $ cd a
2 $ cd a
5 $ echo a > a
3 $ echo a > a
@@ -444,11 +442,13 b' Test xml styles:'
444
442
445 Error if style not readable:
443 Error if style not readable:
446
444
445 #if unix-permissions
447 $ touch q
446 $ touch q
448 $ chmod 0 q
447 $ chmod 0 q
449 $ hg log --style ./q
448 $ hg log --style ./q
450 abort: Permission denied: ./q
449 abort: Permission denied: ./q
451 [255]
450 [255]
451 #endif
452
452
453 Error if no style:
453 Error if no style:
454
454
@@ -466,13 +466,15 b' Error if style missing key:'
466 Error if include fails:
466 Error if include fails:
467
467
468 $ echo 'changeset = q' >> t
468 $ echo 'changeset = q' >> t
469 #if unix-permissions
469 $ hg log --style ./t
470 $ hg log --style ./t
470 abort: template file ./q: Permission denied
471 abort: template file ./q: Permission denied
471 [255]
472 [255]
473 $ rm q
474 #endif
472
475
473 Include works:
476 Include works:
474
477
475 $ rm q
476 $ echo '{rev}' > q
478 $ echo '{rev}' > q
477 $ hg log --style ./t
479 $ hg log --style ./t
478 8
480 8
General Comments 0
You need to be logged in to leave comments. Login now