# HG changeset patch # User FUJIWARA Katsunori # Date 2016-02-05 13:32:05 # Node ID 90cff855ae1ce426ba70251fb752ac06f3638dec # Parent afb86ee925bfc0fe4cdeae13383f25f9354bca37 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. diff --git a/tests/test-command-template.t b/tests/test-command-template.t --- a/tests/test-command-template.t +++ b/tests/test-command-template.t @@ -1018,7 +1018,7 @@ Error if include fails: $ hg log --style ./t abort: template file ./q: Permission denied [255] - $ rm q + $ rm -f q #endif Include works: