xref: /illumos-gate/usr/src/test/os-tests/tests/saveargs/README.md (revision b41e2fb6b2658a36accc73b3b86d99375e700dba)
1# Tests for **libsaveargs**
2
3## Tests in the test suite
4
5### functional
6
7A set of programs with a variety of paths through the argument-passing ABI.
8Verifying that `pstack(1)` can display arguments (testing the plumbing through
9`libproc(3LIB)`).
10
11Each program is expected to display its arguments as they truly are and then
12flush `stdout` to indicate to the test runner that the stack is ready.
13
14### testmatch
15
16A stub program that tests the matcher against a variety of
17function prologues (assembled from `data.S`)
18
19## Other tests
20
21There are further tests in `usr/src/lib/libsaveargs/tests`, most usefully
22`dump` which given an object displays what **libsaveargs** thinks of
23each function symbol in that object.
24