changeset 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 afb86ee925bf
children 834d27c4655d
files tests/test-command-template.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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: