Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Cross-Platform testing still kind of broken... | Danny Abukalam | 2012-01-27 | 4 | -161/+96 | |
| | ||||||
* | Corrupted git repo | Danny Abukalam | 2012-01-26 | 13 | -0/+163 | |
| | ||||||
* | Fixed bug didn't exit when cross_plat.sh failed. | Danny Abukalam | 2012-01-09 | 1 | -0/+6 | |
| | ||||||
* | Merge branch 'test' | Danny Abukalam | 2012-01-09 | 5 | -3/+104 | |
|\ | ||||||
| * | Added Cross Platform Testing | Danny Abukalam | 2012-01-09 | 3 | -3/+104 | |
| | | ||||||
| * | Added Patch files for testing | Danny Abukalam | 2012-01-05 | 2 | -0/+0 | |
|/ | ||||||
* | Added library to control reading and writing to streams | Danny Abukalam | 2011-12-16 | 9 | -96/+291 | |
| | | | | | | Added Cross-endian platform support Changed gids and uids to respective variables Forced time_t to be written as a uint64_t to support cross-architecture | |||||
* | mtime is now a time_t rather than a uint32_t | Richard Maw | 2011-10-19 | 4 | -18/+18 | |
| | | | | | | In future it should be standardised so that diffs can be made on a different architecture to the one they are deployed on, but currently it doesn't work on the same architecture if that architecture is 64-bit | |||||
* | Hopefully fixes a crash on 64-bit | Richard Maw | 2011-10-19 | 1 | -2/+2 | |
| | ||||||
* | Forgot some files | Richard Maw | 2011-10-19 | 2 | -0/+285 | |
| | ||||||
* | Added xattr support | Richard Maw | 2011-10-17 | 6 | -10/+206 | |
| | | | | | Fixed inconsequential memory leak in tbdiff_create.c Lost memory would be cleaned up by OS at exit, but valgrind complains | |||||
* | Should fix directory mtime differences | Richard Maw | 2011-10-17 | 2 | -32/+35 | |
| | ||||||
* | Restructured tests so mandatory delay between source and target | Richard Maw | 2011-10-14 | 17 | -102/+149 | |
| | | | | | | directories can be inserted, to ensure mtime is not equal now dir_add_remove fails because the mtime of the directory changed after a file in it was altered | |||||
* | Fixed files losing group metadata | Richard Maw | 2011-10-14 | 2 | -8/+25 | |
| | | | | | | | | | | | Actually it was losing all metadata other than that which changed metadata was lost when the file was removed, but only the data that changed was applied the fix is to ignore the metadata diff mask as all the data is written to the binary diff, however it needn't be, so if it gets fixed to only send what changed, the metadata will have to be read before the file is recreated and the metadata changed based on what was sent in the binary diff | |||||
* | Fixed a typo that was bugging me | Richard Maw | 2011-10-14 | 1 | -1/+1 | |
| | ||||||
* | Fixed it not updating gid for symbolic links if only gid were different. | Richard Maw | 2011-10-14 | 1 | -1/+1 | |
| | ||||||
* | :facepalm: the test was failing from a bug in the test. | Richard Maw | 2011-10-14 | 1 | -4/+4 | |
| | | | | | The corrected test also fails, however, so I guess I was right about there being a bug, though that is coincidental. | |||||
* | Fixed some typos in tests | Richard Maw | 2011-10-13 | 2 | -2/+19 | |
| | | | | | added test for group changes in symlinks symlinks change the group of what is referenced | |||||
* | Tests and fix for a horrific bug where removing a symlink to a | Richard Maw | 2011-10-13 | 2 | -33/+59 | |
| | | | | directory would remove the directory | |||||
* | Added test for extended attributes | Richard Maw | 2011-10-10 | 2 | -2/+61 | |
| | ||||||
* | Altered tests to check for sticky and setgid bits on directories | Richard Maw | 2011-10-10 | 2 | -20/+30 | |
| | ||||||
* | Merge branch 'master' of git://gitorious.org/baserock/tbdiff | Richard Maw | 2011-10-10 | 0 | -0/+0 | |
|\ | | | | | | | | | Conflicts: tests/test_lib.sh | |||||
| * | Added the ability to test the return code of create and deploy | Richard Maw | 2011-10-07 | 5 | -13/+170 | |
| | | | | | | | | | | | | | | | | | | | | So expected failures can be made by comparing the return code to the expected Also socket tests have been added, add and diff expect create to fail for now The only sensible operation on sockets is to remove them as they need a program to bind them and that program (or a child) needs to be a server So tbdiff should fail if it has to perform such an act. It may be worth having an option to ignore the change, but for now it's better to fail and let the user know why so they can fix it | |||||
* | | libtbd_create now fails if target directory has a socket. | Richard Maw | 2011-10-10 | 5 | -12/+46 | |
| | | | | | | | | | | | | | | tbdiff-create will print a suggested fix Made check_command shell function able to use any type of command for return value checking Fixed minor bugs in TBD_ERROR macro not being used for some errors | |||||
* | | Added the ability to test the return code of create and deploy | Richard Maw | 2011-10-10 | 6 | -13/+240 | |
|/ | | | | | | | | | | So expected failures can be made by comparing the return code to the expected Also socket tests have been added, add and diff expect create to fail for now The only sensible operation on sockets is to remove them as they need a program to bind them and that program (or a child) needs to be a server So tbdiff should fail if it has to perform such an act. It may be worth having an option to ignore the change, but for now it's better to fail and let the user know why so they can fix it | |||||
* | Added tests for block devices | Richard Maw | 2011-10-06 | 2 | -0/+53 | |
| | ||||||
* | Fixed tbd-create not writing the commands to alter special devices if they were | Richard Maw | 2011-10-06 | 1 | -12/+3 | |
| | | | | different | |||||
* | Testing readme now doesn't refer to test scripts as bash scripts | Richard Maw | 2011-10-06 | 1 | -6/+6 | |
| | ||||||
* | Made tests for character devices | Richard Maw | 2011-10-06 | 2 | -0/+53 | |
| | ||||||
* | Removed bashisms from test scripts, so sh should be able to run them | Richard Maw | 2011-10-06 | 9 | -28/+34 | |
| | | | | | | The temporary test directory is now made using mktemp -d instead of using uuid mktemp comes with coreutils, uuid does not, and mktemp makes the directory for you. | |||||
* | Made the inline function more standard | Richard Maw | 2011-10-06 | 2 | -3/+3 | |
| | ||||||
* | Fixed paths being corrupted and making garbage paths appear | Richard Maw | 2011-10-05 | 1 | -2/+5 | |
| | | | | | | | struct dirent pointer returned from readdir was being used after the DIR had been closed. malloc was reusing that memory when trying to construct a tbd_stat_t, but tried to fill it with data from the struct dirent which was owned by the DIR. | |||||
* | tbd_error replaced with TBD_ERROR so that it is explicitly a macro | Richard Maw | 2011-10-05 | 4 | -105/+109 | |
| | | | | | | TBD_ERROR should work when NDEBUG is defined. Previously return tbd_error(e); -> return return e; tbd_error is now an inline function, it feels tidier than statement expressions | |||||
* | Remove debugging output | Alberto Ruiz | 2011-10-04 | 1 | -1/+0 | |
| | ||||||
* | Renamed _tbd_stat to tbd_stat_from_path | Alberto Ruiz | 2011-10-04 | 1 | -5/+5 | |
| | ||||||
* | Style fixes | Alberto Ruiz | 2011-10-04 | 1 | -15/+10 | |
| | ||||||
* | Style fixes for readability and consistency | Alberto Ruiz | 2011-10-04 | 1 | -4/+3 | |
| | ||||||
* | Fix bracket style | Alberto Ruiz | 2011-10-04 | 1 | -2/+1 | |
| | ||||||
* | Remove double underscore from _tdb_stat | Alberto Ruiz | 2011-10-04 | 1 | -6/+5 | |
| | ||||||
* | Enhance dir add remove test | Alberto Ruiz | 2011-10-04 | 1 | -6/+9 | |
| | ||||||
* | Fix directory diff test | Alberto Ruiz | 2011-10-04 | 1 | -3/+4 | |
| | ||||||
* | Fix directory difference command sequence | Alberto Ruiz | 2011-10-04 | 3 | -3/+15 | |
| | ||||||
* | Added directory tests | Alberto Ruiz | 2011-10-04 | 3 | -0/+67 | |
| | ||||||
* | Fixed problem with dymlink diffs | Alberto Ruiz | 2011-10-03 | 3 | -22/+17 | |
| | ||||||
* | Only run tests with .sh extension | Alberto | 2011-10-03 | 1 | -1/+1 | |
| | ||||||
* | Rearranging unit tests | Alberto | 2011-10-03 | 6 | -3/+35 | |
| | ||||||
* | Add FIFO test. Add fakeroot environment. Fixes in symlink diff. | Alberto | 2011-10-03 | 4 | -6/+34 | |
| | ||||||
* | Updated TODO | Alberto | 2011-10-03 | 1 | -10/+13 | |
| | ||||||
* | Additions to the testing README | Alberto | 2011-10-03 | 3 | -9/+48 | |
| | ||||||
* | Improvements to the test framework and documentation | Alberto | 2011-10-03 | 4 | -11/+77 | |
| |