tests: rename files to py extension instead of copying a 2nd time
authorSimon Heimberg <simohe@besonet.ch>
Sat, 06 Jul 2013 21:48:01 +0200
changeset 19385 c455e703348e
parent 19384 96fd9af75834
child 19386 0e25a9e25931
tests: rename files to py extension instead of copying a 2nd time
tests/test-check-code-hg.t
--- a/tests/test-check-code-hg.t	Sat Jul 06 21:47:56 2013 +0200
+++ b/tests/test-check-code-hg.t	Sat 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.