svnserveautocheck.sh

Checkout Tools
  • last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
* subversion/tests/cmdline/svnserveautocheck.sh

(random_port): Fix syntax error when $PYTHON is Python 3.

Add logging to the svnserveautocheck configuration.

* Makefile.in (check-clean): Clean up the svnserveautocheck and davautocheck

configuration/log directories.

* subversion/tests/cmdline/svnserveautocheck.sh

(query): New function, copied unchanged from davautocheck.sh.

(SVNSERVE_ROOT): Temporary directory for svnserve.pid and svnserve.log.

- Run sevnserve with logging enabled;

- Offer to browse the log file before ending the script.

  1. … 1 more file in changeset.
* subversion/tests/cmdline/svnserveautocheck.sh: Document environment

variables interpreted by the script.

* subversion/tests/cmdline/davautocheck.sh: tweak documentation to be

in a similar form to svnserveautocheck.sh

  1. … 1 more file in changeset.
Add FSFS block-read support to davautocheck and svnserveautcheck. Now

make davautocheck BLOCK_READ=1

make svnserveautocheck BLOCK_READ=1

will enable block-read in svnserve and apache. Block-read is necessary

to trigger the issue 4725 bug.

* subversion/tests/cmdline/davautocheck.sh: Move common part of Location

block to a separate function, add support for BLOCK_READ env variable.

* subversion/tests/cmdline/svnserveautocheck.sh: Add support for

BLOCK_READ environment variable.

  1. … 1 more file in changeset.
* subversion/tests/cmdline/svnserveautocheck.sh:

Add a roadsign comment.

svnserveautocheck: Support out-of-tree builds when running a single test file.

* subversion/tests/cmdline/svnserveautocheck.sh:

After computing ABS_BUILDDIR, use it to extract ABS_SRCDIR from Makeflie

and use that to find the *_tests.py script to invoke.

Support modern network utilities for finding free ports for tests

* subversion/tests/cmdline/davautocheck.sh:

Check for presence of ss, netstat and fail if neither is found.

Prefer ss to find a free port, fall back to netstat.

* subversion/tests/cmdline/svnserveautocheck.sh:

Same, and augment $PATH to include /usr/{,local/}sbin.

Patch by: Andreas Stieger <andreas.stieger{_AT_}gmx.de>

  1. … 1 more file in changeset.
Follow-up to r1421594: Fix (svnserve|dav)autocheck when time is only a

built-in.

Some shells do not treat variable contents as a keyword, which in the

case of time makes the script fail if it is a built-in but not a

command.

* subversion/tests/cmdline/svnserveautocheck.sh,

subversion/tests/cmdline/davautocheck.sh:

Turn TIME_CMD into a function.

Approved by: breser, danielsh

  1. … 1 more file in changeset.
For things like 'gmake davautocheck' use the specified make program

for the nested make.

* Makefile.in

(davautocheck, svnserveautocheck): Set MAKE environment variable.

* subversion/tests/cmdline/davautocheck.sh: Use MAKE environment

variable if set.

* subversion/tests/cmdline/svnserveautocheck.sh: Use MAKE environment

variable if set.

  1. … 2 more files in changeset.
* subversion/tests/cmdline/svnserveautocheck.sh: Cleanup some overly long lines.

Allow for time not to be available in (svnserve|dav)autocheck.

time is not installed on some platforms because it is built into the shell.

However, additionally /bin/sh may be a very limited POSIX compliant shell

like dash that doesn't have time.

* subversion/tests/cmdline/svnserveautocheck.sh,

subversion/tests/cmdline/davautocheck.sh:

Test for the availability of time and only use it if available.

  1. … 1 more file in changeset.
* subversion/tests/cmdline/svnserveautocheck.sh

Remove unnecessary and pointless setting of LD_LIBRARY_PATH since the

server is started via the libtool wrapper.

Allow testing with revprop caching by setting CACHE_REVPROPS=1.

* subversion/tests/cmdline/svnserveautocheck.sh

(): Use "--cache-revprops on" if CACHE_REVPROPS is set.

* subversion/tests/cmdline/davautocheck.sh

(): Use "SVNCacheRevProps on" if CACHE_REVPROPS is set.

  1. … 1 more file in changeset.
* subversion/tests/cmdline/svnserveautocheck.sh: Use POSIX signal names.

* subversion/tests/cmdline/svnserveautocheck.sh

Remove an accidental debugging statement.

Make svnserveautocheck more portable.

* Makefile.in

(svnserveautocheck): Pass $PYTHON and don't call bash.

* subversion/tests/cmdline/svnserveautocheck.sh

(#!): s#/bin/bash#/bin/sh#

($PYTHON): Use this environment variable, if available.

(): Replace bash-specific constructs with more portable equivalents.

  1. … 1 more file in changeset.
Allow 'make svnserveautocheck' to run a threaded svnserve.

* Makefile.in (svnserveautocheck): Pass $THREADED to svnserveautocheck.sh

* subversion/tests/cmdline/svnserveautocheck.sh:

Pass -T to svnserve iff $THREADED is not empty.

  1. … 1 more file in changeset.
Run all tests in a known locale.

* build/run_tests.py: Set C locale.

* subversion/tests/cmdline/svnserveautocheck.sh: Set C locale

* subversion/tests/cmdline/davautocheck.sh: Set C locale

  1. … 2 more files in changeset.
Apply ASF license headers to a number of files included under that license

but lacking said header.

Patch by: Niall Pemberton <niallp{_AT_}apache.org>

  1. … 175 more files in changeset.
Pass the user's LD_LIBRARY_PATH environment variable through "make

svnserveautocheck" to the "make check" that it calls. This enables, for

example, a path to the dynamically loaded KWallet or Gnome-keyring libraries

to be specified with "make svnserveautocheck" as it can with "make check".

* subversion/tests/cmdline/svnserveautocheck.sh

Insert extra directories at the beginning of the caller's LD_LIBRARY_PATH

value instead of replacing the caller's value.

Set svn:eol-style=native on some files.

* aclocal.m4:

* autogen.sh:

* build/buildcheck.sh:

* build/find_python.sh:

* build/run_ctypesgen.sh:

* build/win32/vc6-build.bat.in:

* contrib/client-side/svn2cl/svn2cl.sh:

* contrib/client-side/svnmerge/svnmerge-migrate-test.sh:

* contrib/hook-scripts/syntax-check.sh:

* contrib/server-side/backup-recipe.sh:

* contrib/server-side/load_repo_with_mergesensitive_copy.sh:

* contrib/server-side/svnmirror.sh:

* contrib/server-side/svnstsw/autogen.sh:

* contrib/server-side/svnstsw/conf/find_apr.m4:

* contrib/server-side/svnstsw/configure.ac:

* contrib/server-side/svnstsw/conf/stsw_func_snprintf_broken.m4:

* contrib/server-side/svnstsw/conf/stsw_lib_apr.m4:

* contrib/server-side/svnstsw/conf/stsw_prog_doxygen.m4:

* contrib/server-side/svnstsw/doc/Doxyfile-html.in:

* contrib/server-side/svnstsw/doc/man/libsvnstsw.3.in:

* contrib/server-side/svnstsw/doc/man/svnstsw.8.in:

* contrib/server-side/svnstsw/doc/man/svnstsw_exec_svnserve.3.in:

* contrib/server-side/svnstsw/doc/man/svnstsw_fso_is_changeable.3.in:

* contrib/server-side/svnstsw/doc/man/svnstsw_get_tunnel_user_name.3.in:

* notes/tree-conflicts/all-tests.sh:

* packages/rpm/rhel-3/filter-requires.sh:

* packages/rpm/rhel-4/filter-requires.sh:

* packages/rpm/rhel-5/filter-requires.sh:

* packages/solaris/buildpkg.sh:

* packages/solaris/pkginfo.in:

* subversion/bindings/swig/perl/native/Makefile.PL.in:

* subversion/libsvn_wc/workqueue.c:

* subversion/libsvn_wc/workqueue.h:

* subversion/tests/cmdline/davautocheck.sh:

* subversion/tests/cmdline/svnserveautocheck.sh:

* tools/buildbot/slaves/i686-debian-sarge1/svnbuild.sh:

* tools/buildbot/slaves/i686-debian-sarge1/svncheck.sh:

* tools/buildbot/slaves/i686-debian-sarge1/svnclean.sh:

* tools/buildbot/slaves/i686-debian-sarge1/svnlog.sh:

* tools/buildbot/slaves/osx10.4-gcc4.0.1-ia32/svnbuild.sh:

* tools/buildbot/slaves/osx10.4-gcc4.0.1-ia32/svncheck.sh:

* tools/buildbot/slaves/osx10.4-gcc4.0.1-ia32/svnclean.sh:

* tools/buildbot/slaves/osx10.4-gcc4.0.1-ia32/svnlog.sh:

* tools/dev/find-unmoved-deprecated.sh:

* tools/dev/iz/run-queries.sh:

* tools/dev/min-includes.sh:

* tools/dev/svnraisetreeconflict/main.c:

* tools/dist/construct-rolling-environment.sh:

* tools/dist/download-release.sh:

* tools/dist/extract-for-examination.sh:

* tools/dist/roll.sh:

* tools/dist/test.sh:

* tools/po/po-update.sh:

* www/repro-template.sh: Set svn:eol-style=native.

  1. … 53 more files in changeset.
Rename libsvn_ra_dav to libsvn_ra_neon. Update as many places as

possible.

Some things that I did not change:

I left the deprecated svn_ra_dav_init alone.

The SVN_ERR_RA_DAV_* error codes and svn:wc:ra_dav:* wcprops, which

were already being shared between the two RA libraries, stayed.

* everywhere: change "dav" to "neon"

  1. … 49 more files in changeset.
* subversion/tests/cmdline/svnserveautocheck.sh

When running a single test file, we have already changed to its directory,

so run it with ./foo_tests.py instead of relative to $SCRIPTDIR (which

may be a relative path).

* subversion/tests/cmdline/svnserveautocheck.sh

Quote $SERVER_CMD (in case it contains spaces).

* subversion/tests/cmdline/svnserveautocheck.sh

Allow single test suites (e.g. "merge") and individual tests within

those suites to be invoked via the command-line, just like with

davautocheck.sh.

* subversion/tests/cmdline/svnserveautocheck.sh: Set the svn:executable prop.

Run the svnserve test instance on a random port to avoid colliding

with an existing instance of svnserve.

* subversion/tests/cmdline/svnserveautocheck.sh

Run 'svnserve' on a random, unoccuppied port.

Patch by: kameshj

(Tweaked by me.)

* subversion/tests/cmdline/svnserveautocheck.sh:

Remove unnecessary single quotes.

Add timing information to the svnserve test suite.

* subversion/tests/cmdline/svnserveautocheck.sh

Use 'time' around invocation of the 'make check' rule (now invoking

it directly, instead of going through 'make svncheck').

Patch by: me

kameshj

Tweak shebang lines of scripts invoked from Makefile

using bash to use /bin/bash instead of /bin/sh.

* subversion/tests/cmdline/svnserveautocheck.sh,

subversion/tests/cmdline/davautocheck.sh:

Tweak shebang lines.

  1. … 1 more file in changeset.