Bug 210314 - [PATCH] usr.sbin/rpcbind unit tests fail on 32-bit platforms
Summary: [PATCH] usr.sbin/rpcbind unit tests fail on 32-bit platforms
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: CURRENT
Hardware: i386 Any
: --- Affects Many People
Assignee: Alan Somers
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2016-06-15 23:32 UTC by Alan Somers
Modified: 2016-06-16 15:27 UTC (History)
1 user (show)

See Also:
asomers: mfc-stable10?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Somers freebsd_committer freebsd_triage 2016-06-15 23:32:22 UTC
As reported by Mark Millard, the usr.sbin/rpcbind tests fail on 32-bit platforms:

> usr.sbin/rpcbind/addrmerge_test:addrmerge_bindip  ->  failed: 1 checks failed; see output for more details  [0.035s]
> usr.sbin/rpcbind/addrmerge_test:addrmerge_bindip_rev  ->  failed: 1 checks failed; see output for more details  [0.035s]
> usr.sbin/rpcbind/addrmerge_test:addrmerge_localhost_only  ->  failed: 1 checks failed; see output for more details  [0.034s]
> usr.sbin/rpcbind/addrmerge_test:addrmerge_one_addr_on_each_subnet  ->  failed: 1 checks failed; see output for more details  [0.035s]
> usr.sbin/rpcbind/addrmerge_test:addrmerge_one_addr_on_each_subnet_rev  ->  failed: 1 checks failed; see output for more details  [0.035s]
> usr.sbin/rpcbind/addrmerge_test:addrmerge_point2point  ->  failed: 1 checks failed; see output for more details  [0.035s]
> usr.sbin/rpcbind/addrmerge_test:addrmerge_point2point_rev  ->  failed: 1 checks failed; see output for more details  [0.033s]
> usr.sbin/rpcbind/addrmerge_test:addrmerge_recvdstaddr  ->  failed: 1 checks failed; see output for more details  [0.035s]
> usr.sbin/rpcbind/addrmerge_test:addrmerge_recvdstaddr_rev  ->  failed: 1 checks failed; see output for more details  [0.035s]
> usr.sbin/rpcbind/addrmerge_test:addrmerge_singlehomed  ->  failed: 1 checks failed; see output for more details  [0.032s]
Comment 1 commit-hook freebsd_committer freebsd_triage 2016-06-16 15:26:24 UTC
A commit references this bug:

Author: asomers
Date: Thu Jun 16 15:25:37 UTC 2016
New revision: 301967
URL: https://svnweb.freebsd.org/changeset/base/301967

Log:
  Fix usr.sbin/rpcbind ATF tests on 32-bit platforms

  usr.sbin/rpcbind/tests/addrmerge_test.c
  	Fix some sizeof calculations that work only by luck on 64-bit
  	platforms.

  PR:		210314
  Reviewed by:	ngie
  Approved by:	re (kib)
  Reported by:	Mark Millard
  MFC after:	4 weeks
  Sponsored by:	Spectra Logic Corp
  Differential Revision:	https://reviews.freebsd.org/D6855

Changes:
  head/usr.sbin/rpcbind/tests/addrmerge_test.c