summaryrefslogtreecommitdiff
path: root/test/bbackupd
Commit message (Collapse)AuthorAge
...
* Keep bbackupd pid in a global variable instead of a local one.Chris Wilson2007-04-21
| | | | | | | | | | Stop bbackupd nicely with terminate_bbackupd() instead of killing it, so that we get a memory leak report on Win32. Stop bbackupd and bbstored at end of test if any tests fail. (refs #3)
* Test fix: create TestDir1 with a readable mode (refs #3)Chris Wilson2007-04-21
|
* Compile fix, comment out set_file_time helper function on non-Win32Chris Wilson2007-04-21
| | | | | platforms (refs #3)
* Enhance test for bbackupd pausing on change of client store markerChris Wilson2007-04-21
| | | | | (refs #3)
* Work around lack of pipe support in Win32 system() command (refs #3)Chris Wilson2007-04-21
|
* Don't fill in struct dirent.d_ino unless we've detected that it's Chris Wilson2007-04-21
| | | | | present on this platform. (refs #3)
* Add utility functions for running different types of syncs, set WindowsChris Wilson2007-04-21
| | | | | | file time (enhanced utimes()), and finding a named entry in a directory on the store. (refs #3)
* Comment out some tests that don't work on Win32 (refs #3)Chris Wilson2007-04-21
|
* Use #defined constants rather than hard-coded paths for launchingChris Wilson2007-04-21
| | | | | programs. (refs #3)
* Rearrange #includes in alphabetical order. (refs #3)Chris Wilson2007-04-20
|
* Check return value using the macro, because ::system works differentlyChris Wilson2007-04-06
| | | | | on Windows than on Unix (refs #3, merges part of [623])
* Use the old way to unzip files on win32/cygwin, since the pipe method Chris Wilson2007-04-06
| | | | | doesn't seem to work here. (refs #3, merges part of [623])
* Disable interrupted restore test on Win32 (uses fork) Chris Wilson2007-04-06
| | | | | (refs #3, merges part of [623])
* Disable symlink tests on win32. (refs #3, merges part of [623])Chris Wilson2007-04-02
|
* Test for restoring to a directory whose parent does not exist Chris Wilson2007-04-01
| | | | | (refs #3, merges [517])
* Only include headers on systems which have themChris Wilson2007-03-25
|
* Add autogen_ClientException.o to testbbackupd extra objects, because itChris Wilson2007-03-24
| | | | | links against bbackupd objects which need this. (refs #3, merges [1456])
* Test that bbackupd reports an error when the backup failed due to anChris Wilson2007-03-22
| | | | | exception (refs #3)
* Use unique name for compare log (refs #3)Chris Wilson2007-03-22
|
* Flush stdout after writing to it (refs #3)Chris Wilson2007-03-22
|
* Test expected behaviour for modifying a file without changing its modtime,Chris Wilson2007-03-22
| | | | | both tracked and untracked (refs #3)
* Improve output messages when waiting for daemon to start (refs #3)Chris Wilson2007-03-22
|
* Simplify wait code (refs #3)Chris Wilson2007-03-22
|
* Moved SendCommands(), HUPServer(), KillServer() to lib/server/ServerCommands.h.Chris Wilson2007-03-10
| | | | | | | | | | | | | | | | | All of these use lib/server/WinNamedPipeStream on Win32, so they don't belong in lib/common. Made LaunchServer() work on Win32. Added constants for paths to executables, for use in tests, removing the need for #ifdefs and clumsy DIRECTORY_SEPARATORs in paths. Added terminate_bbackupd() and wait_for_operation() functions. Update unit tests to #include "ServerControl.h" if they need it. (refs #3)
* Check for return code 3 (unreadable files) instead of return code 2Chris Wilson2007-03-10
| | | | | (refs #3, depends on [1378])
* Compile fix for platforms without intercept capability (refs #3)Chris Wilson2006-12-29
|
* Added missing Makefile.extra to link against bbackupd objects, so that Chris Wilson2006-12-14
| | | | | our internal daemon test code will compile.
* Added tests for keepalives while scanning large directories. (refs #3, Chris Wilson2006-12-03
| | | | | refs #9)
* Added ability for delay intercepts to fire multiple times.Chris Wilson2006-11-28
| | | | | Added test for repeat keepalives to test/bbackupd.
* Added a test for diff termination if MaximumDiffingTime is exceeded Chris Wilson2006-11-27
| | | | | (refs #3, refs #9)
* Added test for keepalives being sent (refs #9)Chris Wilson2006-11-26
|
* Add test/bbackupd/testfiles/syncallowscript.pl to the list of Perl filesChris Wilson2006-10-16
| | | | | auto-generated with substitutions. (refs #3)
* Change test for return code 3 back to 2, until or unless the bbackupqueryChris Wilson2006-10-15
| | | | | compare error (unreadable files) patch is merged. (refs #3)
* * mergeChris Wilson2006-07-27
| | | | | | | - This is my current patch queue. I think that all of these are safe to apply. This is just under half of the pending changes in chris/general (the easy half).
* This is part 2 of a patch from James O'Gorman.Martin Ebourne2006-03-04
| | | | | This just renames all of the files that configure now substitutes - no changes to any of the files.
* This is part 1 of a patch from James O'Gorman.Martin Ebourne2006-03-04
| | | | | configure now detects perl executable location and updates all scripts to use the correct path; also adds PERL_EXECUTABLE define to BoxConfig.h. makebuildenv.pl adds PERL define to all makefiles.
* tar -C is not portable, so avoid using it in tests.Martin Ebourne2006-02-14
|
* Increased "timeout" from 18 to 28 seconds needed on Solaris.Stefan Norlin2006-02-14
|
* Use gzip directly to avoid GNU specific tar options.Martin Ebourne2006-02-01
| | | | NOTE: Can someone test that this doesn't break Windows please?
* Fixes for xattr on LinuxMartin Ebourne2006-01-06
| | | | | | | | | | | | | | | | - A very unlikely failure where getxattr returns an error code the first time but succeeds the second time could cause buffer overrun and corruption. Affecting the tests only: - On Linux (and presumably Irix) normal users can only modify attributes in the 'user.' namespace. - Some filesystems can have strict limits on value size (eg. 1024 bytes on ext3 depending on block size) - ENOATTR is defined in xattr/xattr.h. This file is an optional install and is not needed for the rest of box to use extended attributes. Provide it ourselves if not present.
* Simple test for xattr support in test/bbackupd, fix xattr support for ↵Ben Summers2006-01-06
| | | | Darwin, move xattr adjustments to BoxPlatform.h to use globally
* Rationalise type usage for time values. Now:Martin Ebourne2005-12-20
| | | | | | Box time is always box_time_t seconds is time_t microseconds is uint64_t
* Fixing up svn:executable properties.Martin Ebourne2005-12-12
| | | | You may need a new checkout to see this.
* Box Backup 0.09 with a few tweeksBen Summers2005-10-14