comparison tests/test-command-template.t @ 27994:90cff855ae1c

tests: remove protected file forcibly for portability Before this patch, test-command-template.t is timed out on Solaris, because "rm" on permission denied file implies prompting "override protection 0 (yes/no)?" and blocks execution of test script.
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Fri, 05 Feb 2016 22:32:05 +0900
parents cfe7da66f555
children ab8107c923b4
comparison
equal deleted inserted replaced
27993:afb86ee925bf 27994:90cff855ae1c
1016 $ echo 'changeset = q' >> t 1016 $ echo 'changeset = q' >> t
1017 #if unix-permissions no-root 1017 #if unix-permissions no-root
1018 $ hg log --style ./t 1018 $ hg log --style ./t
1019 abort: template file ./q: Permission denied 1019 abort: template file ./q: Permission denied
1020 [255] 1020 [255]
1021 $ rm q 1021 $ rm -f q
1022 #endif 1022 #endif
1023 1023
1024 Include works: 1024 Include works:
1025 1025
1026 $ echo '{rev}' > q 1026 $ echo '{rev}' > q