autoprop_tests.py is creating mangled test files on my system
From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2004-10-03 01:11:38 CEST
From autoprop_tests.py:
def create_test_file(dir, name):
An example file that it creates:
> hexdump -C build/subversion/subversion/tests/clients/cmdline/local_tmp/autodir/foo.h
The first 8 bytes appear to have been overwritten with garbage. Sometimes the first two or three bytes have other values instead, and thus sometimes Subversion's heuristic determines that the file is binary and sets svn:mime-type=application/octet-stream, and then test fails, which is how I came to find this.
It seems like a Python bug or mis-use. I have recently performed a SuSE Online Update which did fetch an update to Python, supposedly just adding a missing symlink. The autoprops tests never used to fail when I was last working on Subversion, which was at the beginning of June, but nor did I ever check that those test files had the correct contents then.
Any ideas?
- Julian
Subversion trunk r11207
SuSE Linux 9.0
> uname -a
> python -V
> rpm -q python
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.