0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * Copyright (C) 2012, 2013, 2016 Internet Systems Consortium, Inc. ("ISC")
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * This Source Code Form is subject to the terms of the Mozilla Public
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * License, v. 2.0. If a copy of the MPL was not distributed with this
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * file, You can obtain one at http://mozilla.org/MPL/2.0/.
179d8f4cc893420557c38d940b611404608d0239ckb/*! \file */
179d8f4cc893420557c38d940b611404608d0239ckb * Individual unit tests
179d8f4cc893420557c38d940b611404608d0239ckb/* Test for 32 bit overflow on 64 bit machines in isc_parse_uint32 */
179d8f4cc893420557c38d940b611404608d0239ckb atf_tc_set_md_var(tc, "descr", "Check for 32 bit overflow");
179d8f4cc893420557c38d940b611404608d0239ckb result = isc_parse_uint32(&output, "123456789012345", 10);
179d8f4cc893420557c38d940b611404608d0239ckb result = isc_parse_uint32(&output, "12345678901234567890", 10);