[PATCH 3 of 3] tests: rename files to py extension instead of copying a 2nd time
Simon Heimberg
simohe at besonet.ch
Wed Jun 12 18:48:25 CDT 2013
# HG changeset patch
# User simon at laptop-tosh
# Date 1371080642 -7200
# Node ID 980676bcfbc67a2f9f8b974bc0fe493616f5879d
# Parent 78787b1dc892f57b3230a03e6714dcf4412f3269
tests: rename files to py extension instead of copying a 2nd time
diff -r 78787b1dc892 -r 980676bcfbc6 tests/test-check-code-hg.t
--- a/tests/test-check-code-hg.t Don Jun 13 01:44:02 2013 +0200
+++ b/tests/test-check-code-hg.t Don Jun 13 01:44:02 2013 +0200
@@ -22,7 +22,7 @@
> tests/hghave \
> tests/dummyssh \
> "$TESTTMP"/
- $ for f in "$TESTTMP"/*; do cp "$f" "$f.py"; done
+ $ for f in "$TESTTMP"/*; do mv "$f" "$f.py"; done
New errors are not allowed. Warnings are strongly discouraged.
More information about the Mercurial-devel
mailing list