summaryrefslogtreecommitdiff
path: root/test/bbackupd
Commit message (Collapse)AuthorAge
...
* Include the time taken by bbackupquery compare in the time betweenChris Wilson2007-11-04
| | | | | | syncs, used to check that the SyncAllowScript pauses backup for the correct length of time.
* Compile fix for [1908].Chris Wilson2007-11-04
|
* Move sync helper functions from test/bbackupd to Test.h to share withChris Wilson2007-11-04
| | | | | other tests, particularly test/backupstorefix.
* Test that redundant locations are really deleted after the time expires.Chris Wilson2007-10-08
|
* Convert most printf() and fprintf() calls to use logging frameworkChris Wilson2007-08-02
| | | | | instead. (refs #3)
* Remove compare again. (refs #3, merges [1651])Chris Wilson2007-07-26
|
* Make Configuration take a std::string filename instead of a char array,Chris Wilson2007-07-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in C++ style. Add a function to get default config file paths at runtime, dependent on the location of the executable being run. Pass the config file name directly to Daemon::Main, instead of faking argv. No default raid file path at compile time on Windows, depends on executable location when run. Determine RaidFile path at runtime if not supplied in config file on Windows. Don't define default locations for config files at compile time on Windows, provide macros to determine them at runtime instead. Make FileHandleGuard take a std::string instead of a char array, C++ style. Determine config file location at runtime instead of hard-coding on Windows. Thanks to Paul MacKenzie, Per Thomsen, Pete Jalajas, Stuart Sanders, Dave Bamford and Gary for pushing me to do this. (fixes #12) Determine config file path at runtime. Call Daemon::Main with config file name instead of building fake argv. (refs #3, merges [1684] [1685] [1686] [1687] [1688] [1689] [1690] [1691] [1692])
* Fix unit tests now that bbackupd honours the hard limit and not theChris Wilson2007-07-26
| | | | | soft limit. (refs #3, merges [1662])
* Make test/bbackupd intercept timer tests a little less strict, becauseChris Wilson2007-06-30
| | | | | | object IDs can vary depending on the order that readdir() returns files in. (refs #3)
* Gratuitous additional spaces (refs #3)Chris Wilson2007-05-09
|
* Slightly more progress information during tests (refs #3)Chris Wilson2007-05-03
|
* Read-only restore test fix (refs #3)Chris Wilson2007-05-03
|
* Gratuitous cosmetic reformatting, to make the test easier to read (refs #3)Chris Wilson2007-04-28
|
* Call perl executable to execute external scripts, since shebang doesn'tChris Wilson2007-04-28
| | | | | work on win32. (refs #3)
* Remove misplaced hunk. (refs #3)Chris Wilson2007-04-28
|
* Close updated files during continuous-update test, so that they can beChris Wilson2007-04-28
| | | | | backed up on Win32. (refs #3)
* Use helper function rather than calling bbackupctl directly. (refs #3)Chris Wilson2007-04-28
|
* Use quiet mode in compares, to reduce test output verbosity (refs #3)Chris Wilson2007-04-28
|
* Format messages within test to make them more obvious, and improveChris Wilson2007-04-28
| | | | | readability of test output. (refs #3)
* Test that bbackupd and bbstored are still running at various points duringChris Wilson2007-04-28
| | | | | the test, and abort early if not. (refs #3)
* 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
|
* 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)
* 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
|