summaryrefslogtreecommitdiffstats
path: root/tests/test_ioctl.c
Commit message (Collapse)AuthorAgeFilesLines
* tests: Migrate to new cmocka APIAndreas Schneider2015-08-111-7/+11
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* tests: Avoid using getenv() to retrieve the path.Andreas Schneider2014-06-011-7/+7
| | | | | | | CID 17221 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* tests: Fix possible format string attack.Andreas Schneider2014-05-271-6/+3
| | | | | | | | | | Well, there is really not attack on a test but we want to silence Coverity :) CID 17221 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* tests: Fix use of tainted string in test_ioctl.Andreas Schneider2014-04-251-1/+6
| | | | | | | CID: #17221 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* tests: Fix creating remove_cmd.Andreas Schneider2014-04-141-2/+3
| | | | | | | | Found by Coverity. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> Reviewed-by: Simo Sorce <idra@samba.org>
* tests: Don't leak file description in test_ioctl.Andreas Schneider2014-04-141-0/+2
| | | | | | | | Found by Coverity. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> Reviewed-by: Simo Sorce <idra@samba.org>
* tests: Remove unused variable warningJakub Hrozek2013-12-231-0/+2
| | | | The variables were unused if SIOCGPGRP wasn't defined.
* tests: Rename testsuite to test_ioctl.Andreas Schneider2013-12-121-0/+99