Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: svn commit: r2431 - branches/fsvs-1.2.x/fsvs/src/status.c

fsvs
Discussion topic

Back to topic list

Re: svn commit: r2431 - branches/fsvs-1.2.x/fsvs/src/status.c

Author pmarek
Full name P.Marek
Date 2010-02-15 09:32:37 PST
Message On Monday 15 February 2010 Gunnar Thielebein wrote:
> Would you point me how to use tests in fsvs?
> I can't get them running.

  make run-tests

for the quick test, and the extensive version is

  make ext-tests PARALLEL=5

(but that needs "sudo" without password and "ssh localhost" for both user and
root, as it tests a lot of combinations of user/root,file://,svn+ssh://, and
some more variations.

> When I ./run-tests <test> this does not return anything.
> For writing a test for the dir_exclude_mtime option. Should I use the
> 034_status 036_status_non-recursive (?). What should the test include?
Just copy a file and use it as a template.
The test should verify that the option works when off and when on; so you'll
need a few subdirectory levels (because of the CHILD_CHANGED flag).

I'd recommend to use the normal
    $PREPARE_DEFAULT > /dev/null
line, then you'll get everything set up automatically, and a bit of directory
structure as well - then you can just use one of the files and on of the
directories below tree/ for the verification.

  touch tree/a/1
(if I'm correct here and verify that
  fsvs st -o no-dir-mtime=XXX
(or whatever the name now is) gives/doesn't give the directory (depending on
child changes, too).


Regards,

Phil

--
Versioning your /etc, /home or even your whole installation?
             Try fsvs (fsvs.tigris.org)!

« Previous message in topic | 4 of 5 | Next message in topic »

Messages

Show all messages in topic

Re: svn commit: r2431 - branches/fsvs-1.2.x/fsvs/src/status.c pmarek P.Marek 2010-02-13 10:24:14 PST
     Re: svn commit: r2431 - branches/fsvs-1.2.x/fsvs/src/status.c tekknokra Gunnar Thielebein 2010-02-13 11:49:59 PST
     Re: svn commit: r2431 - branches/fsvs-1.2.x/fsvs/src/status.c tekknokra Gunnar Thielebein 2010-02-15 07:38:53 PST
         Re: svn commit: r2431 - branches/fsvs-1.2.x/fsvs/src/status.c pmarek P.Marek 2010-02-15 09:32:37 PST
             svn commit: r2432 tekknokra Gunnar Thielebein 2010-02-16 02:25:57 PST
Messages per page: