#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source. A copy of the CDDL is also available via the Internet at
#
#
# Copyright (c) 2015, Joyent, Inc.
#
#
# The purpose of this test is to verify that we have actually gone
# through and called the rekey functions in the implementation of the
# arc4random code that we have. To do that, we look at the actual part
# of the code that does generation. In this case, the function
# arc4_rekey() which is a private function as part of libc.
#
set -o errexit
rm -f $arc_tmpfile
-o $arc_tmpfile