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

RE: log_tests.py prompts for password over ra_svn

From: Lieven Govaerts <lgo_at_mobsol.be>
Date: 2006-07-07 22:41:28 CEST

I checked the tests that fail like this, all of them fail because they use:
  svntest.main.run_svn (None, 'ci', '-F', msg_file)
instead of:
  svntest.actions.run_and_verify_commit(wc_dir,
                                        expected_output,...

In r19143, run_and_verify_commit was modified to always pass user and
password to subversion, which is now required for ra_svn and ra_dav tests.

Probably these tests almost never fail because when you run other tests
first the account & pwd are cached.

Lieven.
 

> -----Original Message-----
> From: Philip Martin [mailto:philip@codematters.co.uk]
> Sent: vrijdag 7 juli 2006 22:13
> To: dev@subversion.tigris.org
> Subject: log_tests.py prompts for password over ra_svn
>
> log_tests.py stalls waiting for a password when run over
> ra_svn, and it uses my login user name in the prompt. The
> code running the commit hasn't changed recently so I guess
> that the requirement for auth is new, but it's not clear to
> me what has changed. Any ideas?
>
> $ .../log_tests.py -v --url svn://localhost 1
> CMD: svnadmin "create" "svn-test-work/local_tmp/repos"
> "--bdb-txn-nosync" <TIME = 0.183733>
> CMD: svn "import" "--username" "jrandom" "--password"
> "rayjandom" "-m" "Log message for revision 1."
> "svn-test-work/local_tmp/greekfiles"
> "file:///home/pm/sw/subversion/obj/subversion/tests/cmdline/sv
> n-test-work/local_tmp/repos" "--config-dir"
> "/home/pm/sw/subversion/obj/subversion/tests/cmdline/svn-test-
> work/local_tmp/config" <TIME = 0.362535>
> CMD: svnadmin "hotcopy" "svn-test-work/local_tmp/repos"
> "svn-test-work/repositories/log_tests-1" <TIME = 0.181440>
> CMD: svn "co" "--username" "jrandom" "--password" "rayjandom"
> "file:///home/pm/sw/subversion/obj/subversion/tests/cmdline/sv
> n-test-work/local_tmp/repos" "svn-test-work/local_tmp/wc"
> "--config-dir"
> "/home/pm/sw/subversion/obj/subversion/tests/cmdline/svn-test-
> work/local_tmp/config" <TIME = 0.652981>
> CMD: svn "switch" "--relocate" "--username" "jrandom"
> "--password" "rayjandom"
> "file:///home/pm/sw/subversion/obj/subversion/tests/cmdline/sv
> n-test-work/local_tmp/repos"
> "svn://localhost/svn-test-work/repositories/log_tests-1"
> "svn-test-work/working_copies/log_tests-1" "--config-dir"
> "/home/pm/sw/subversion/obj/subversion/tests/cmdline/svn-test-
> work/local_tmp/config" <TIME = 0.280113> Password for 'pm':
> CMD: svn "ci" "-F"
> "/home/pm/sw/subversion/obj/subversion/tests/cmdline/svn-test-
> work/repositories/log_tests-1/log-msg" "--config-dir"
> "/home/pm/sw/subversion/obj/subversion/tests/cmdline/svn-test-
> work/local_tmp/config" <TIME = 1.921146> Authentication
> realm: <svn://localhost:3690> caf9b323-0318-0410-93c6-2d89483b7472
> Authentication realm: <svn://localhost:3690>
> caf9b323-0318-0410-93c6-2d89483b7472
> Username: ../svn/subversion/libsvn_client/commit.c:866:
> (apr_err=70014)
> svn: Commit failed (details follow):
> ../svn/subversion/libsvn_subr/prompt.c:119: (apr_err=70014)
> svn: Can't read stdin: End of file found
> FAIL: log_tests.py 1: 'svn log', no args, top of wc
>
> --
> Philip Martin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jul 7 22:42:12 2006

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.