Received: from mx.pao1.isc.org (mx.pao1.isc.org [149.20.64.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx.pao1.isc.org", Issuer "COMODO RSA Organization Validation Secure Server CA" (not verified)) by bugs.isc.org (Postfix) with ESMTPS id CD7E4D78B0D for ; Tue, 9 Jan 2018 22:45:27 +0000 (UTC) Received: from zmx1.isc.org (zmx1.isc.org [149.20.0.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx.pao1.isc.org (Postfix) with ESMTPS id BEBCA3ACD79 for ; Tue, 9 Jan 2018 22:45:25 +0000 (UTC) Received: from zmx1.isc.org (localhost [127.0.0.1]) by zmx1.isc.org (Postfix) with ESMTPS id 971D9160066 for ; Tue, 9 Jan 2018 22:45:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by zmx1.isc.org (Postfix) with ESMTP id 89D1A16005B for ; Tue, 9 Jan 2018 22:45:25 +0000 (UTC) Received: from zmx1.isc.org ([127.0.0.1]) by localhost (zmx1.isc.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id bQ1eDpnL2S1Y for ; Tue, 9 Jan 2018 22:45:25 +0000 (UTC) Received: from [192.168.0.18] (c220-239-233-234.belrs5.nsw.optusnet.com.au [220.239.233.234]) by zmx1.isc.org (Postfix) with ESMTPSA id 00759160053 for ; Tue, 9 Jan 2018 22:45:24 +0000 (UTC) Date: Wed, 10 Jan 2018 09:45:22 +1100 References: In-Reply-To: X-Original-To: bind9-confidential@bugs.isc.org Subject: Re: [ISC-Bugs #46973] unit tests are not passing on non-x86 arch X-Mailer: Apple Mail (2.3273) To: bind9-confidential@isc.org From: "Mark Andrews" content-type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD autolearn=ham autolearn_force=no version=3.4.1 Return-Path: Message-ID: <18222F04-462B-4E95-8404-963EBEC68FC2@isc.org> X-RT-Original-Encoding: utf-8 From marka@isc.org Tue Jan 9 22:45:27 2018 MIME-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mx.pao1.isc.org Delivered-To: bind9-confidential@bugs.isc.org X-RT-Incoming-Encryption: Not encrypted X-RT-Interface: Email RT-Message-ID: Content-Length: 619 Went with: @@ -1835,7 +1835,8 @@ ATF_TC_BODY(isc_crc64, tc) { testcase->input_len); } isc_crc64_final(&crc); - tohexstr((unsigned char *) &crc, sizeof(crc), str, sizeof(str)); + snprintf(str, sizeof(str), + "0x%016" ISC_PRINT_QUADFORMAT "X", crc); ATF_CHECK_STREQ(str, testcase->result); and appropriate changes to the expected output strings. -- Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: marka@isc.org