Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
* | Send data back from test daemon to test code, and wait for it to be | Chris Wilson | 2007-12-18 | |
| | | | | | | | received in the test code, to avoid synchronisation issue where the QUIT command appears to be part of the received data. Mostly harmless, but gives a false alarm when viewing the test output. | |||
* | Pass test options to test daemons. | Chris Wilson | 2007-12-16 | |
| | ||||
* | Report line of test where failed to kill internal daemon during SSL | Chris Wilson | 2007-12-15 | |
| | | | | | keepalive tests. | |||
* | Move comment, add whitespace. | Chris Wilson | 2007-12-13 | |
| | ||||
* | Fix keepalive test failure: | Chris Wilson | 2007-12-06 | |
| | | | | | | | | | * zero memory buffer before use to keep consistent behaviour. * expect a diff even if the maximum diffing time expires * really check when we have a diff and when we don't | |||
* | Re-initialise the timers when aborting test run during SSL KeepAlive | Chris Wilson | 2007-12-02 | |
| | | | | | | tests, as main() will try to clean them up and we'll get an error message if they're not initialised. | |||
* | Another compile fix for [1931] | Chris Wilson | 2007-11-09 | |
| | ||||
* | Compile fix for [1931] | Chris Wilson | 2007-11-09 | |
| | ||||
* | Handle bbackupd_args without leading space. | Chris Wilson | 2007-11-07 | |
| | ||||
* | Fix calling bbackupd with NO args in keepalive tests (fixes [1928]) | Chris Wilson | 2007-11-07 | |
| | ||||
* | Pass bbackupd_args to the internal daemon (spaces are NOT supported). | Chris Wilson | 2007-11-06 | |
| | | | | | Stop early if a keepalive test fails, for debugging. | |||
* | This is C++ not ruby (oops) | Chris Wilson | 2007-11-06 | |
| | ||||
* | Add some debugging for a keepalive timer test failure reported by | Chris Wilson | 2007-11-06 | |
| | | | | | Matt Brown <matt@mbrown.co.uk> on 2007-11-06. | |||
* | Use lstat() instead of stat() to check whether a file exists. Thanks to | Chris Wilson | 2007-11-05 | |
| | | | | | | | | Hans-Joachim Baader for reporting this problem. (http://lists.warhead.org.uk/pipermail/boxbackup/2007-November/003958.html) Add a test that symlinks are not followed during restore. | |||
* | Add some sleeps to ensure that timestamps change enough to invalidate | Chris Wilson | 2007-11-04 | |
| | | | | | | the directory cache in the store on filesystem with low timestamp resolution (e.g. OSX). | |||
* | Wait for long enough after creating test files that they will actually | Chris Wilson | 2007-11-04 | |
| | | | | | | | be seen as old enough to upload by bbackupd. Fix comments. | |||
* | Include the time taken by bbackupquery compare in the time between | Chris Wilson | 2007-11-04 | |
| | | | | | | syncs, used to check that the SyncAllowScript pauses backup for the correct length of time. | |||
* | Compile fix for [1908]. | Chris Wilson | 2007-11-04 | |
| | ||||
* | Explicitly wait for sync to finish instead of assuming that 14 seconds | Chris Wilson | 2007-11-04 | |
| | | | | | is enough time. | |||
* | Move sync helper functions from test/bbackupd to Test.h to share with | Chris Wilson | 2007-11-04 | |
| | | | | | other tests, particularly test/backupstorefix. | |||
* | Test that redundant locations are really deleted after the time expires. | Chris Wilson | 2007-10-08 | |
| | ||||
* | Convert most printf() and fprintf() calls to use logging framework | Chris Wilson | 2007-08-02 | |
| | | | | | instead. (refs #3) | |||
* | Remove compare again. (refs #3, merges [1651]) | Chris Wilson | 2007-07-26 | |
| | ||||
* | Make Configuration take a std::string filename instead of a char array, | Chris Wilson | 2007-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 regex tests for HAVE_REGEX_SUPPORT. (refs #3, merges [1682]) | Chris Wilson | 2007-07-26 | |
| | ||||
* | Fix unit tests now that bbackupd honours the hard limit and not the | Chris Wilson | 2007-07-26 | |
| | | | | | soft limit. (refs #3, merges [1662]) | |||
* | Create logger object in the right place to avoid accidental triggering. | Chris Wilson | 2007-07-26 | |
| | ||||
* | Make test/bbackupd intercept timer tests a little less strict, because | Chris Wilson | 2007-06-30 | |
| | | | | | | object IDs can vary depending on the order that readdir() returns files in. (refs #3) | |||
* | Gratuitous additional spaces (refs #3) | Chris Wilson | 2007-05-09 | |
| | ||||
* | Slightly more progress information during tests (refs #3) | Chris Wilson | 2007-05-03 | |
| | ||||
* | Read-only restore test fix (refs #3) | Chris Wilson | 2007-05-03 | |
| | ||||
* | Fix running common tests in release mode, by not doing things that | Chris Wilson | 2007-05-02 | |
| | | | | | crash in release mode, but assert in debug mode. (refs #3) | |||
* | Gratuitous cosmetic reformatting, to make the test easier to read (refs #3) | Chris Wilson | 2007-04-28 | |
| | ||||
* | Call perl executable to execute external scripts, since shebang doesn't | Chris Wilson | 2007-04-28 | |
| | | | | | work on win32. (refs #3) | |||
* | Remove misplaced hunk. (refs #3) | Chris Wilson | 2007-04-28 | |
| | ||||
* | Close updated files during continuous-update test, so that they can be | Chris Wilson | 2007-04-28 | |
| | | | | | backed up on Win32. (refs #3) | |||
* | Use helper function rather than calling bbackupctl directly. (refs #3) | Chris Wilson | 2007-04-28 | |
| | ||||
* | Use quiet mode in compares, to reduce test output verbosity (refs #3) | Chris Wilson | 2007-04-28 | |
| | ||||
* | Format messages within test to make them more obvious, and improve | Chris Wilson | 2007-04-28 | |
| | | | | | readability of test output. (refs #3) | |||
* | Test that bbackupd and bbstored are still running at various points during | Chris Wilson | 2007-04-28 | |
| | | | | | the test, and abort early if not. (refs #3) | |||
* | Revert to Unix paths (refs #3) | Chris Wilson | 2007-04-28 | |
| | ||||
* | Listen on an inet socket as well, to keep tests happy on Windows | Chris Wilson | 2007-04-28 | |
| | | | | | (refs #3, merges part of [582]) | |||
* | Test that PartialReadStream and ReadGatherStream can handle streams | Chris Wilson | 2007-04-28 | |
| | | | | | over 2GB in size. (refs #3) | |||
* | Test that locked files behave as expected on Win32 (refs #3, merges | Chris Wilson | 2007-04-22 | |
| | | | | | parts of [649], [694], [1461]) | |||
* | Test that file attributes are backed up and compared correctly on Win32 | Chris Wilson | 2007-04-22 | |
| | | | | | (refs #3, merges part of 694]) | |||
* | Compare restored files as part of restore test (refs #3, merges part | Chris Wilson | 2007-04-22 | |
| | | | | | of [623]) | |||
* | Check that Exclude and AlwaysInclude configurations actually work as | Chris Wilson | 2007-04-22 | |
| | | | | | they should. (refs #3, merges [711]) | |||
* | Use wait_for_sync_end() to synchronise the test more accurately with | Chris Wilson | 2007-04-22 | |
| | | | | | bbackupd, hopefully reducing random failures. (refs #3) | |||
* | Use Cygwin chmod command-line tool to make the read-only file writable | Chris Wilson | 2007-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 Wilson | 2007-04-22 | |
| |