aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* tests: fix dev_t/off_t loading in testsMike Frysinger2009-03-311-1/+1
| | | | | | | Since these sizes are often not sizeof(int), we need to make sure to read and print them properly. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* tests: do not sscanf("%i", mode_t)Mike Frysinger2009-03-091-2/+1
| | | | | | | | Since not all systems have sizeof(int) == sizeof(mode_t), we do not want to use scanf("%i") to parse a mode_t size. Otherwise we might corrupt the stack. This happens on FreeBSD for example. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* tests: add symlink tests and unify codeMike Frysinger2009-03-081-1/+1
| | | | | | | Add test cases for symlink behavior and unify some of the test code to make adding more test cases even easier. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* disable tests for unavailable funcsMike Frysinger2009-02-121-0/+1
| | | | | | | Not all systems implement the full range of functions we wrap, so we shouldn't require them in the test suite either. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* tests: initial test frameworkMike Frysinger2008-11-111-0/+19
Signed-off-by: Mike Frysinger <vapier@gentoo.org>