summaryrefslogtreecommitdiff
path: root/test/bbackupd
Commit message (Collapse)AuthorAge
* Fix compile error due to missing mode on open(O_CREAT).Chris Wilson2013-02-13
|
* Link testbbackupd with bbackupquery object files, so that we can useChris Wilson2012-11-27
| | | | | BackupQueries directly for debugging compare failures.
* Fix random failures of bbackupd test by locking the account before makingChris Wilson2012-11-18
| | | | | changes to it.
* Link to HousekeepStoreAccount.o in the right directory since the big refactor.Chris Wilson2012-11-08
|
* Add support for SyncAllowScript to set maximum upload bandwidth dynamically.Chris Wilson2012-03-10
|
* Force all options to be present to BackupClientRestore(), to fix Chris Wilson2012-02-02
| | | | | | | misinterpretation of char * arguments as bools. Use macros to simplify test code. Test that locations not present when bbackupd started will be detected and backed up if subsequently created.
* Disable automatic backups in the temploc configuration, and enable theChris Wilson2012-02-01
| | | | | | NotifyScript, so that we can tell what kind of errors bbackupd reported and reproduce them reliably.
* Combine client and server protocols to make way for an offline/local protocol.Chris Wilson2011-08-27
| | | | | Rename ProtocolObject to Message.
* Fix test/bbackupd build for new object locations.Chris Wilson2011-06-22
|
* Major refactoring to make lib/backupclient depend on lib/backupstore ratherChris Wilson2011-04-26
| | | | | | | than the other way around. This is needed to allow clients to have all the code that they'd need to implement local backups (using the Local protocol) in subsequent commits.
* Reformat for readability.Chris Wilson2011-04-23
|
* Add intercept logging, seems to work around intermittent failures inChris Wilson2011-01-09
| | | | | | | | | | | | testbbackupd: {{{ Waiting for internal daemon to scan spacetest/d1: ............ done. Waiting for server to die (pid 6307): .............................. failed! ERROR: **** TEST FAILURE: Condition [killed_server] failed at testbbackupd.cpp:718 ERROR: **** TEST FAILURE: Condition [stop_internal_daemon(pid)] failed at testbbackupd.cpp:1153 }}}
* Log the path, name and size of files being restored at TRACE level forChris Wilson2011-01-08
| | | | | | | | | | users wanting more detailed restore output. Disable printing dots when logging at TRACE level is enabled. Warn rather than failing to restore when the file attributes could not be restored. (merges [2745], [2827]).
* Fix location of memleaks file to fix test/bbackupd again.Chris Wilson2010-10-18
|
* Allow restoring directories with a single argument, using the remote nameChris Wilson2010-09-22
| | | | | as the local destination name also.
* Log while sleeping in test/bbackupd.Chris Wilson2009-04-26
| | | | | Only show warning about diff test time taken if it's out of bounds.
* Improve debugging output from external check script.Chris Wilson2009-04-26
|
* Fixes for gcc 4.4.Martin Ebourne2009-04-23
|
* Fix speeling misteak.Chris Wilson2009-04-09
|
* Fix race conditions where backups happen too slowly and tests fail.Chris Wilson2009-04-09
|
* Show reasons for waiting during bbackupd and backupstorepatch tests,Chris Wilson2009-04-09
| | | | | | | | | | | to help with interpreting test output. When running at Trace level, where extra output from bbackupd etc. is common, log a single line at the start of waiting, instead of progress dots, to help with interpreting output. Show number of seconds waited for on Windows as well as Unixes.
* Fix tests (hopefully) on Win32 for struct stat ino_t change from 16 toChris Wilson2009-03-21
| | | | | 64 bits.
* Fix race condition where bbackupd would run just before test finished Chris Wilson2009-03-15
| | | | | | waiting for its 90 second error timeout on slow machines, e.g. FreeBSD VM, causing bbackupd test to fail.
* Move TEST_EQUAL macro into lib/common/Test.h, rename to TEST_EQUAL_LINE, Chris Wilson2009-01-03
| | | | | provide TEST_EQUAL that only takes two arguments for simplicity.
* Fix permissions on restored files after test, so that test buildChris Wilson2008-11-24
| | | | | system stops complaining that it can't delete them.
* Fix test for slight change to logging format.Chris Wilson2008-10-29
|
* Revert incorrectly committed file.Chris Wilson2008-10-29
|
* Use the same ostringstream formatting for protocol logging to fileChris Wilson2008-10-29
| | | | | | that we use for standard logging, to fix 64bit platform warnings reported by Matt Brown.
* Add missing extern "C" on intercept function definitions inChris Wilson2008-10-11
| | | | | | | testbbackupd. Fix assignment of string constants to non-const char pointers.
* Fix bbackupd/housekeeping deletion test for Unix again, and hopefullyChris Wilson2008-10-04
| | | | | make it work on Windows too. Improve comments about this test.
* Fix directory record conflicts caused by including the same directoryChris Wilson2008-10-03
| | | | | | | twice. Fix/reduce locked file timing conflict problems.
* Reinstate and fix the intercept tests for SSL keepalives.Chris Wilson2008-09-26
|
* Test for read errors being reported at more points during the tests.Chris Wilson2008-09-12
| | | | | Test that symlink to self does not cause restore to fail.
* Include signal.h if it exists.Chris Wilson2008-09-03
|
* Test that store-full error is not wrongly generated on aborted connections.Chris Wilson2008-08-10
|
* Link bbackupd test with objects from bin/bbstored.Chris Wilson2008-08-10
|
* Fix conflict with local variables called "line".Chris Wilson2008-08-06
|
* Windows compile and deletion/housekeeping test fix.Chris Wilson2008-08-03
|
* Fix compile error on Windows.Chris Wilson2008-05-28
|
* Add bbackupquery -W<level> option to set explicit warning level, Chris Wilson2008-05-28
| | | | | | | | | | | | | | | | | | | Obsolete old (inconsistent) meaning of -q in bbackupquery. Replace -q with -Wwarning or -Werror in tests to reduce noise and fix tests. Test that reading a nonexistent directory on the server doesn't crash server or client. Test that bbackupd does continue backup run and delete files when storage limit is exceeded. Use logging guards to hide expected warnings in testbbackupd. Remove apparently pointless listing files on server at the end of testbbackupd.
* Add support to notifyscript to use a tag, useful for tests with Chris Wilson2008-05-28
| | | | | frequently-generated messages such as backup-start.
* Add new bbackupd config files for bbackupd test.Chris Wilson2008-05-28
|
* Undo mangling by tailorChris Wilson2008-04-04
|
* TailorizationChris Wilson2008-04-04
| | | | | | | | | | | Import of the upstream sources from Repository: http://localhost:8000/ Kind: hg Revision: 7807b7768163f1c2537756abe5416063989cebb1 Original author: tailor@rocio.int.aidworld.org Date: 2008-03-16 19:44:36+00:00
* Allow configuration of the server port that the client will connect to Chris Wilson2008-03-28
| | | | | | | | | | | | | (bbackupd and bbackupquery). Redesign ConfigurationVerify to use classes instead of structs. Use port 22011 instead of 2201 during tests, to reduce the chances of conflicting with a running bbstored or other process. Ignore autogen_* in svn:ignore everywhere instead of individual per-file ignores.
* Fix missing space before bbstored_args in test to make them work Chris Wilson2008-03-13
| | | | | properly.
* Fix multiple connections to server (not supported on Windows) in test Chris Wilson2008-03-01
| | | | | | | that redundant locations are deleted on time. Commonise some more login code to simplify tests.
* Disable another symlink test on Win32.Chris Wilson2008-03-01
|
* Delete bbstored PID file after killing the daemon on Windows, as the Chris Wilson2008-03-01
| | | | | daemon can't clean up after itself.
* Ignore terminal type error messages from bbackupquery, may happenChris Wilson2008-01-23
| | | | | in Debian buildds.