[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Error in nitial Run of basic_tests.py

From: Tom Bing <caedmon60_at_gmail.com>
Date: Fri, 27 Apr 2012 18:14:53 -0400

I have a Subversion 1.6.15 repository set up and working on an Intel
64-bit RHEL5 Linux platform.  I have been trying unsuccessfully to run
the command-line test suite, using
subversion/tests/cmdline/basic_tests.py.  The version of Python on
this server is 2.4.3. This script runs normally with the --list
option, and produces a list of 49 test numbers and descriptions on
stdout.  When I run the script to perform all tests
(./basic_tests.py), I get nothing on stdout and this on stderr:

Traceback (most recent call last):
 File "./basic_tests.py", line 2550, in ?
   svntest.main.run_tests(test_
list)
 File "/home/tb3798/subversion-1.6.15/subversion/tests/cmdline/svntest/main.py",
line 1607, in run_tests
   actions.setup_pristine_repository()
 File "/home/tb3798/subversion-1.6.15/subversion/tests/cmdline/svntest/actions.py",
line 44, in setup_pristine_repository
   main.create_repos(main.pristine_dir)
 File "/home/tb3798/subversion-1.6.15/subversion/tests/cmdline/svntest/main.py",
line 689, in create_repos
   path, *opts)
 File "/home/tb3798/subversion-1.6.15/subversion/tests/cmdline/svntest/main.py",
line 356, in run_command
   None, *varargs)
 File "/home/tb3798/subversion-1.6.15/subversion/tests/cmdline/svntest/main.py",
line 500, in run_command_stdin
   stdin_lines,
 File "/home/tb3798/subversion-1.6.15/subversion/tests/cmdline/svntest/main.py",
line 471, in spawn_process
   infile, outfile, errfile, kid = open_pipe([command] + list(varargs))
 File "/home/tb3798/subversion-1.6.15/subversion/tests/cmdline/svntest/main.py",
line 418, in open_pipe
   close_fds=not windows)
 File "/usr/lib64/python2.4/subprocess.py", line 550, in __init__
   errread, errwrite)
 File "/usr/lib64/python2.4/subprocess.py", line 996, in _execute_child
   raise child_exception
OSError: [Errno 2] No such file or directory

I thought this was some kind of configuration error or missing
environment variable, but I don't find anything in the two README
files for testing that covers this.

Thanks for your help,
Tom Bing
Received on 2012-04-28 07:31:40 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.