]> granicus.if.org Git - strace/commit
tests: enhance test coverage of quotactl syscall parser
authorZhibin Li <08826794brmt@gmail.com>
Thu, 12 Jul 2018 09:32:11 +0000 (17:32 +0800)
committerDmitry V. Levin <ldv@altlinux.org>
Sun, 15 Jul 2018 18:51:09 +0000 (18:51 +0000)
commitf23ff6cebf0ca8177e3f10c49817397092936912
tree7419262c7a4f2bfd8604eebce6b3b4204daac504
parent965e18c407427c656c3bfc9780febdc27923358d
tests: enhance test coverage of quotactl syscall parser

* tests/quotactl.c (print_dqfmt): New function.
(main): Use print_dqfmt to print flags of quota format, improve existing
tests and add more tests for Q_GETFMT.
* tests/quotactl-xfs.c: Improve existing tests and add more tests for
Q_XGETQSTAT and Q_XGETQSTATV.
tests/quotactl-xfs.c
tests/quotactl.c