Below is the file 'test_hooks.lua' from this revision. You can also download the file.

function get_passphrase(keyid)
	return keyid
end

function non_blocking_rng_ok()
	return true
end

function get_revision_cert_trust(signers, id, name, val)
   return true
end

function get_manifest_cert_trust(signers, id, name, val)
   return true
end

function get_file_cert_trust(signers, id, name, val)
   return true
end

function persist_phrase_ok()
	return true
end

function get_author(branchname)
	return "shootout@example.com"
end

function get_netsync_read_permitted (collection, identity)
	return true
end

function get_netsync_write_permitted (identity)
	return true
end