disklabel(8) uses hw.physmem to calculate swap and /var sizes. This
authorbluhm <bluhm@openbsd.org>
Tue, 25 Sep 2018 12:15:49 +0000 (12:15 +0000)
committerbluhm <bluhm@openbsd.org>
Tue, 25 Sep 2018 12:15:49 +0000 (12:15 +0000)
commit74fe0421c22907f7817ff13d5bea5c2f45367511
tree40d9fb0e47e847c0a008a2c21c71626cd0a7d1ca
parentdc478e20f1da04a6a027f2d4ca4db1d1d7251f9a
disklabel(8) uses hw.physmem to calculate swap and /var sizes.  This
prevents reproduceable regression tests.  Recompile the disklabel
with a fixed memory size for this test.  Also adjust expected output
for recent /usr/obj and /usr/local size changes.
discussed with krw@
regress/sbin/disklabel/Makefile
regress/sbin/disklabel/disklabel-A
regress/sbin/disklabel/disklabel-A-expected