summaryrefslogtreecommitdiff
path: root/tests/test_lib.sh
Commit message (Collapse)AuthorAgeFilesLines
* Remove old tests and any code specific to those testsBen Brown2013-12-191-150/+2
|
* Change the temporary directory used for tests to be based on the current ↵Tiago Gomes2013-07-011-1/+3
| | | | | | | directory Or else the test using extended attributes will fail because extended attributes are not supported in tmpfs.
* Corrupted git repoDanny Abukalam2012-01-261-0/+30
|
* Added Cross Platform TestingDanny Abukalam2012-01-091-1/+0
|
* Added xattr supportRichard Maw2011-10-171-3/+8
| | | | | Fixed inconsequential memory leak in tbdiff_create.c Lost memory would be cleaned up by OS at exit, but valgrind complains
* Restructured tests so mandatory delay between source and targetRichard Maw2011-10-141-44/+23
| | | | | | 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
* Added test for extended attributesRichard Maw2011-10-101-2/+27
|
* libtbd_create now fails if target directory has a socket.Richard Maw2011-10-101-4/+4
| | | | | | | 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 deployRichard Maw2011-10-101-13/+48
| | | | | | | | | | 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
* Removed bashisms from test scripts, so sh should be able to run themRichard Maw2011-10-061-12/+18
| | | | | | 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.
* Added directory testsAlberto Ruiz2011-10-041-0/+5
|
* Add FIFO test. Add fakeroot environment. Fixes in symlink diff.Alberto2011-10-031-2/+1
|
* Added symlink add/remove testAlberto2011-10-031-0/+5
|
* Added symlink diff testAlberto2011-10-031-4/+15
|
* Fix sanity check in test frameworkAlberto2011-10-031-1/+7
|
* Basic file testAlberto2011-10-031-3/+3
|
* Added prototype of test suiteAlberto2011-09-301-0/+82