Stefan Nehlsen
2004-Jan-07 11:54 UTC
BUG in 2.6.0: make test failes if build dir is not source dir
There is a small bug in the build system of 2.6.0: If the directory you build rsync in differs from the sourcedir "make test" failes: $ tar -xzf ~/rsync-2.6.0.tar.gz $ mkdir build $ cd build $ ../rsync-2.6.0/configure .... $ make test .... PASS unsafe-byname PASS unsafe-links ----- wildmatch log follows Testing for symlinks using 'test -h' + /tmp/bla/build/wildtest Unable to open wildtest.txt. ----- wildmatch log ends FAIL wildmatch ------------------------------------------------------------ ----- overall results: 14 passed 1 failed 3 skipped ------------------------------------------------------------ overall result is 1 make: *** [check] Fehler 1 The problem is in wildtest.c : if ((fp = fopen("wildtest.txt", "r")) == NULL) { fprintf(stderr, "Unable to open wildtest.txt.\n"); exit(1); } cu, Stefan -- Stefan Nehlsen | ParlaNet Administration | sn@parlanet.de | +49 431 988-1260
Wayne Davison
2004-Jan-08 10:40 UTC
BUG in 2.6.0: make test failes if build dir is not source dir
On Wed, Jan 07, 2004 at 12:49:52PM +0100, Stefan Nehlsen wrote:> If the directory you build rsync in differs from the sourcedir "make test" > failes:Thanks for pointing this out. I've checked in a fix that should now call the wildtest program with a TESTFILE argument that includes the proper $srcdir path. ..wayne..