[PATCH 2 of 3] tests: rename files to py extension instead of copying a 2nd time

Simon Heimberg simohe at besonet.ch
Sat Jul 6 16:49:54 CDT 2013


# HG changeset patch
# User Simon Heimberg <simohe at besonet.ch>
# Date 1373140081 -7200
# Node ID ff9b18822beb9c82f84d9bfc3b2d59faad341529
# Parent  396aec6a35a214bbf0282659123b2699e9faf737
tests: rename files to py extension instead of copying a 2nd time

diff -r 396aec6a35a2 -r ff9b18822beb tests/test-check-code-hg.t
--- a/tests/test-check-code-hg.t	Sam Jul 06 21:47:56 2013 +0200
+++ b/tests/test-check-code-hg.t	Sam Jul 06 21:48:01 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