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.
--- a/tests/test-command-template.t Fri Feb 05 22:32:05 2016 +0900
+++ b/tests/test-command-template.t Fri Feb 05 22:32:05 2016 +0900
@@ -1018,7 +1018,7 @@
$ hg log --style ./t
abort: template file ./q: Permission denied
[255]
- $ rm q
+ $ rm -f q
#endif
Include works: