summaryrefslogtreecommitdiffstats
path: root/tests/nsm_client/README
blob: 85379dd0371f2c044ac9173e4afad4badeaadbb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
The nsm_client program is intended for testing statd. It has the ability
to act as a synthetic NSM client for sending artificial NSM calls to any
host you choose.

It also has an NLM simulator that implements the call that statd uses to
communicate with lockd. The daemon simulator will start itself up,
register as an NLM service and listen for "downcalls" from statd. When
it gets one, it will log a message.

Note that lockd will need to be down when using the daemon simulator. It
also does not implement the entire NLM protocol and is only really
useful for testing statd's downcall.