From: Martin Pool Date: Tue, 12 Mar 2002 00:20:16 +0000 (+0000) Subject: Rename to README.testsuite, and bring it up to date. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/1cf1e7b3b4366e39ae61e941e4d28d4ee18c40ef Rename to README.testsuite, and bring it up to date. --- diff --git a/testsuite/README b/testsuite/README deleted file mode 100644 index 55e15a64..00000000 --- a/testsuite/README +++ /dev/null @@ -1,7 +0,0 @@ -This directory contains automatic test cases for rsync. You can run -them yourself if you want, preferably by doing "make check" in the -top-level source directory. (Not implemented yet.) - -They also run automatically on the build farm, and you can see the -results on http://build.samba.org/. That's controlled by the file -./runlist. diff --git a/testsuite/README.testsuite b/testsuite/README.testsuite new file mode 100644 index 00000000..b7697ca9 --- /dev/null +++ b/testsuite/README.testsuite @@ -0,0 +1,28 @@ +automatic testsuite for rsync -*- text -*- + +We're trying to develop some more substantial tests to prevent rsync +regressions. Ideally, all code changes or bug reports would come with +an appropriate test suite. + +You can run these tests by typing "make check" in the build directory. +The tests will run using the rsync binary in the build directory, so +you do not need to do "make install" first. Indeed, you probably +should not install rsync before running the tests. + +If you instead type "make installcheck" then the suite will test the +rsync binary found on the path. You can use this to test a +distribution build, or perhaps by setting $PATH to run a new test +suite against an old version of rsync. + +If the tests pass, you should see a report to that effect. Some tests +require being root or some other precondition, and so will normally be +checked -- look at the test scripts for more information. + +If the tests fail, you will see rather more output. The scratch +directory will remain in the build directory. It would be useful if +you could include the log messages when reporting a failure. + +These tests also run automatically on the build farm, and you can see +the results on http://build.samba.org/. + +