void
test_LocalClock(void) {
#ifdef REFCLOCK /* clockname() is useless otherwise */
/* We test with a refclock address of type LOCALCLOCK.
* with unit id 8
*/
const u_char unit = 8;
u_int32 addr;
char expected[100];
sockaddr_u address;
void
test_UnknownId(void) {
#ifdef REFCLOCK /* refnumtoa() is useless otherwise */
/* We test with a currently unused refclock ID */
/* Might need to be updated if a new refclock gets this id. */
const u_char UNUSED_REFCLOCK_ID = 250;
const u_char unit = 4;
u_int32 addr;
char expected[100];
sockaddr_u address;