Martin Pool
99cdaff70d
Add a makepath() function to cope with machines that do not have
...
'mkdir -p'. (Stone knives and bearskins...)
2001-09-06 05:52:40 +00:00
Martin Pool
c36b5017b8
Doc.
...
Look at $whichtests to run just a subset -- good for calling from Make.
2001-09-06 05:50:48 +00:00
Martin Pool
a4cf6bec19
Fix comment.
2001-09-06 04:56:55 +00:00
Martin Pool
0154b302ce
Fiddle umask again.
2001-09-06 04:56:02 +00:00
Martin Pool
ec99e9da81
Clean up output a little.
2001-09-06 02:30:06 +00:00
Martin Pool
e052b21f32
Set umask so that symlinks will have the right permissions on BSD.
2001-09-06 02:26:21 +00:00
Martin Pool
b2f0246498
For log messages containing ridiculously long strings that might
...
overflow a buffer rsync no longer aborts, but rather prints an
ellipsis at the end of the string. (Patch from Ed Santiago.)
2001-09-04 03:12:55 +00:00
Martin Pool
c1659c79ef
Clean up from rsync+ patch; fix compiler warning.
2001-08-31 09:27:35 +00:00
Martin Pool
4a7cb3e8a8
Fix sh syntax for FreeBSD.
2001-08-31 09:26:34 +00:00
Martin Pool
0de40240bb
If we're using built-in *printf functions, then provide prototypes.
2001-08-31 09:23:06 +00:00
Martin Pool
d79c77caca
Cope on machines without INADDR_LOOPBACK.
2001-08-31 08:22:00 +00:00
Martin Pool
2b106d0b3a
Ignore test tmp dir.
2001-08-31 08:16:23 +00:00
Martin Pool
8fef024528
Run the daemon test using faked tcp connections.
2001-08-31 08:13:57 +00:00
Martin Pool
6963e540db
Grammar fix.
2001-08-31 08:12:35 +00:00
Martin Pool
3ef526f5fa
Add comment about handling of 'use chroot'
2001-08-31 08:08:42 +00:00
Martin Pool
eecd22ff7b
Merge in the LIBSMB_PROG idea from samba, so that you can do
...
RSYNC_CONNECT_PROG='./rsync --daemon' ./rsync -vvvvvv localhost::
to test as a daemon without actually having to listen on a port.
2001-08-31 07:06:13 +00:00
Martin Pool
add7e8fb6b
Doc.
...
Try to give a better error message when there is a remote option error.
2001-08-31 06:48:35 +00:00
Martin Pool
f6e09367a7
Option should be --recursive, not --recurse. (This is what it was in
...
--help and 2.4.6.)
2001-08-31 06:29:45 +00:00
Martin Pool
3aae15ecfb
Fix rsyncd.conf generation.
2001-08-31 05:49:16 +00:00
Martin Pool
f5ad6eb18d
Fix message.
2001-08-31 05:48:19 +00:00
Martin Pool
7f1b717ac7
Show rsync version before doing anything else.
2001-08-31 05:45:49 +00:00
Martin Pool
55bdb41632
Skip SSH tests if $rsync_enable_ssh_tests is not set
2001-08-31 05:41:45 +00:00
David Dykstra
7c06e407ec
The --compare-dest option was not listed as accepting a string parameter
...
like it was supposed to. There should probably be a testsuite test for
--compare-dest.
2001-08-30 16:24:03 +00:00
Martin Pool
c13ad7ec47
fix bashism
2001-08-30 08:28:53 +00:00
Martin Pool
d2094cc33d
Split out generic functions for starting rsyncd.
2001-08-30 07:14:57 +00:00
Martin Pool
c3469aed19
Notes on an interactive shell for rsync.
2001-08-30 07:11:46 +00:00
Martin Pool
232ce2b2c8
Start testing daemon functionality
2001-08-30 07:10:45 +00:00
Martin Pool
882582b307
Run all scripts in the testsuite/ directory, not just named ones. I'd
...
like to make this script not rsync-specific if possible.
2001-08-30 07:10:20 +00:00
Martin Pool
ebaa0489b4
Abandoned
2001-08-30 06:56:57 +00:00
Martin Pool
1a1c244dc3
Obsolete
2001-08-30 06:54:59 +00:00
Martin Pool
320989b05d
On BSD, this seemed to always exit after test failure. Try different
...
shell syntax.
2001-08-30 06:54:15 +00:00
Martin Pool
9d682a8dc1
More debug output for testing SSH.
2001-08-30 06:51:58 +00:00
Martin Pool
37c3cf430d
Try using diff -c' not diff -u' because the latter seems to be
...
broken on SCO2.
2001-08-30 06:35:48 +00:00
Martin Pool
751411c40d
Use rsync source rather than /etc for files because things in /etc
...
might be protected or missing on some systems.
2001-08-29 09:38:28 +00:00
Martin Pool
6a46226b3a
BSD doesn't have /etc/resolv.conf or /etc/inittab, and hands.test was
...
trying to use them as a source of noise.
2001-08-29 09:27:43 +00:00
Martin Pool
42e66aa24c
Apparently `set -x' in the shell works on some Bourne shells, but not SCO.
2001-08-29 09:24:35 +00:00
Martin Pool
5cb1f5c795
Apparently '!' to invert a pipeline result doesn't work on UnixWare.
2001-08-29 09:23:19 +00:00
Martin Pool
12b9c8409e
Return the *number of tests that failed*, so that it will show up
...
nicely in the overall summary.
2001-08-29 09:20:35 +00:00
Martin Pool
e8ca590142
Cleanup check_logs feature.
...
`ps ax' is not portable -- don't use it to generate random text. Use
`ls -lR' instead.
2001-08-29 09:18:45 +00:00
Martin Pool
863dff5179
Cleanup check_logs feature.
2001-08-29 09:15:17 +00:00
Martin Pool
3fedd74ba2
Clean up Phil's test more.
...
Make the checkit() routine more generic.
Split out ssh tests.
2001-08-29 09:13:01 +00:00
Martin Pool
78ffe4787f
$RSYNC and similar variables must be set to absolute path so that it
...
can be passed to --rsync-path.
Add a nopersist=yes option that makes runtests bomb out as soon as one
test fails -- this is good if you're watching the trace output.
2001-08-29 09:12:05 +00:00
Martin Pool
a4b4af889b
$RSYNC must be set to absolute path so that it can be passed to --rsync-path
2001-08-29 09:11:14 +00:00
Martin Pool
d286ee98b9
Count overall failure if some expected scripts were missing.
2001-08-29 08:48:00 +00:00
Martin Pool
42be591878
Remove testtmp directory on 'clean'.
...
Run test scripts in POSIX mode to try to catch portability problems.
2001-08-29 08:46:18 +00:00
Martin Pool
3a4c683f04
More test case work:
...
* make sure to build rsync before running 'make check'
* Put back in the loglevel concept from the samba scripts. If >8,
then turn on shell tracing.
* Allow tests to return 77 if they want to count as 'skipped'.
* Add more docs.
* Mangle Phil's script to get ready to run on non-Linux systems: we
need to not use shell functions, cp -a, etc. Not there yet.
2001-08-29 08:13:19 +00:00
Martin Pool
e7d29902a6
Redraft testsuite driver script to unify 'make check', 'make
...
installcheck' and buildfarm tests.
Add note from discussion with Tim about finding files/directories
under different circumstances. Now works (?) with VPATH build.
2001-08-29 07:33:27 +00:00
Martin Pool
64bd756832
Add comment: cyeoh says that getpass is deprecated, because it may
...
return a truncated password on some systems, and it is not in the LSB.
2001-08-29 07:23:30 +00:00
David Dykstra
8642efd0d6
The --with-rsync-path configure option was using the wrong configure
...
variable "$with_rsync_name" instead of "$with_rsync_path".
2001-08-27 16:23:41 +00:00
Martin Pool
063393d62d
Only use the "@RSYNC EXIT" tag if we're talking to a client about
...
version 25. This prevents it appearing and messing up the module list
when an old client connects to a 2.4.7 server.
2001-08-23 06:14:54 +00:00