tests: rename files to py extension instead of copying a 2nd time

This commit is contained in:
Simon Heimberg 2013-07-06 21:48:01 +02:00
parent 6444a88e7c
commit 8e20317c84

View File

@ -22,7 +22,7 @@ Prepare check for Python files without py extension
> 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.