Pete Wyckoff <pw@xxxxxxxx> writes: > +build_smush() { > + cat >k_smush.py <<-\EOF && > + import re, sys > + sys.stdout.write(re.sub(r'(?i)\$(Id|Header|Author|Date|DateTime|Change|File|Revision):[^$]*\$', r'$\1$', sys.stdin.read())) > + EOF > + cat >ko_smush.py <<-\EOF > + import re, sys > + sys.stdout.write(re.sub(r'(?i)\$(Id|Header):[^$]*\$', r'$\1$', sys.stdin.read())) > + EOF > +} > + > +test_expect_success 'keyword file test' ' > + build_smush && > + test_when_finished rm -f k_smush.py ko_smush.py && > + test_when_finished cleanup_git && > + "$GITP4" clone --dest="$git" //depot@all && > + ( > + cd "$git" && > + > + # text, ensure unexpanded > + python "$TRASH_DIRECTORY/k_smush.py" <"$cli/k-text-k" >cli-k-text-k-smush && > + test_cmp cli-k-text-k-smush k-text-k && > + python "$TRASH_DIRECTORY/ko_smush.py" <"$cli/k-text-ko" >cli-k-text-ko-smush && > + test_cmp cli-k-text-ko-smush k-text-ko && > + > + # utf16, even though p4 expands keywords, git-p4 does not > + # try to undo that > + test_cmp "$cli/k-utf16-k" k-utf16-k && > + test_cmp "$cli/k-utf16-ko" k-utf16-ko > + ) > +' Shouldn't this pay attention to PYTHON_PATH in any way? -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html