tests: remove protected file forcibly for portability
authorFUJIWARA Katsunori <foozy@lares.dti.ne.jp>
Fri, 05 Feb 2016 22:32:05 +0900
changeset 27994 90cff855ae1c
parent 27993 afb86ee925bf
child 27995 834d27c4655d
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.
tests/test-command-template.t
--- 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: