summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
...
* Test that locked files behave as expected on Win32 (refs #3, mergesChris Wilson2007-04-22
| | | | | parts of [649], [694], [1461])
* Test that file attributes are backed up and compared correctly on Win32Chris Wilson2007-04-22
| | | | | (refs #3, merges part of 694])
* Compare restored files as part of restore test (refs #3, merges part Chris Wilson2007-04-22
| | | | | of [623])
* Check that Exclude and AlwaysInclude configurations actually work asChris Wilson2007-04-22
| | | | | they should. (refs #3, merges [711])
* Use wait_for_sync_end() to synchronise the test more accurately withChris Wilson2007-04-22
| | | | | bbackupd, hopefully reducing random failures. (refs #3)
* Use Cygwin chmod command-line tool to make the read-only file writableChris Wilson2007-04-22
| | | | | on Win32, instead of our own chmod() (which does nothing). (refs #3)
* Use wait_for_sync_end() rather than calling bbackupquery ourselves (refs #3)Chris Wilson2007-04-22
|
* Use LaunchServer to remove the need for some #ifdefs.Chris Wilson2007-04-22
| | | | | | | Use directory separator constant instead of forward slash. Add some blank lines for readability. (refs #3)
* Test that SyncAllowScript is executed and can pause backup for theChris Wilson2007-04-22
| | | | | correct amount of time. (refs #3)
* Add sync allow script to test config, to allow it to be tested.Chris Wilson2007-04-22
| | | | | Use TARGET_PERL to execute the test scripts. (refs #3)
* Use TARGET_PERL instead of PERL in shebang lines (refs #3)Chris Wilson2007-04-22
|
* Fix excessively verbose warnings while waiting for daemon to start.Chris Wilson2007-04-22
| | | | | (refs #3)
* Replace sleep() with safe_sleep() everywhere (refs #3)Chris Wilson2007-04-22
|
* Use additional arguments from command line options when starting bbackupdChris Wilson2007-04-22
| | | | | and bbstored. (refs #3)
* Declare global std::string variables that hold extra arguments forChris Wilson2007-04-22
| | | | | | | | | | | | | executables run in tests, to be implemented in a follow-up patch. ConvertPaths, LaunchServer and RunCommand all take std::string references instead of char*. Move safe_sleep from test/common to lib/server/Test.h so that all tests can use it. (refs #3)
* Test that filenames containing non-ASCII (8-bit) characters can beChris Wilson2007-04-21
| | | | | | backed up and restored, and directories can be changed into and out of, on win32. (refs #3)
* 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
|
* Win32 fixes (paths to executables, and don't try things that don't workChris Wilson2007-03-25
| | | | | on Windows, like sending HUP signals) (refs #3)
* Close RaidFile before committing, so that commit can work on win32.Chris Wilson2007-03-25
| | | | | | | Typo fix. (refs #3)
* Use #defined paths for executables to remove win32/unix differences.Chris Wilson2007-03-25
| | | | | (refs #3)
* Fix spurious/suprious typos.Chris Wilson2007-03-25
| | | | | | | | | | | Use #defined paths for executables to remove win32/unix differences. Don't check for bbstored memory leaks on win32. Wrap long lines for readability. (refs #3)
* Use #defined paths for applications to fix cross unix/win32 compatibility.Chris Wilson2007-03-25
| | | | | | | | | Fix memory leak. Reformat comments. (refs #3)
* 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])
* Check for exclude entries that end in a path separator, and log a warningChris Wilson2007-01-16
| | | | | (refs #3)
* 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.
* Fixed a race condition caused by rescheduling in signal handler (refs Chris Wilson2006-12-03
| | | | | #3, refs #9)