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

Question for svnadmin test

From: John Peacock <jpeacock_at_rowman.com>
Date: 2003-11-09 05:22:59 CET

The recent patch I submitted to add --owner and --group to svnadmin did not
include a test for these new features. As I was starting to collect my thoughts
about writing some tests (and looking at the existing tests), it occurred to me
that this feature is not going to easily fit into the current testing scheme.

The reasons for this are twofold:

1) 'svnadmin --owner XXX --group XXX' must be run as root in order to function
at all;

2) the owner and group must refer to actual user/groups present on the testing
machine.

The first pretty much means that anyone trying to smoke the test suite will have
to either run as root, install the test file SUID root, or set up the test user
in sudo for this test.

The second either requires command-line arguments to point to existing user and
group, or requires that the test create a new user/group for testing purposes.
This is in many ways even more troubling that SUID root.

Neither of these realizations makes me all that happy. Anyone care to comment???

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Nov 9 05:23:16 2003

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.