Commit Graph

2098 Commits

Author SHA1 Message Date
snj e8c0536867 Pull up following revision(s) (requested by skrll in ticket #909):
distrib/sets/lists/etc/mi: revision 1.237
	distrib/sets/lists/tests/mi: revision 1.613
	distrib/utils/embedded/conf/armv7.conf: revisions 1.1, 1.2
	distrib/utils/embedded/conf/beagleboard.conf: delete
	distrib/utils/embedded/conf/evbarm.conf: revisions 1.21, 1.22
	distrib/utils/embedded/conf/rpi.conf: revisions 1.28, 1.29
	distrib/utils/embedded/conf/rpi_inst.conf: revisions 1.7, 1.8
	distrib/utils/embedded/conf/usermode.conf: revision 1.5
	distrib/utils/embedded/conf/x86.conf: revision 1.5
	distrib/utils/embedded/files/resize_disklabel: revision 1.1
	distrib/utils/embedded/mkimage: revisions 1.49, 1.55-1.59
	etc/defaults/rc.conf: revision 1.133
	etc/etc.evbarm/Makefile.inc: revisions 1.72, 1.76
	etc/rc.d/Makefile: revision 1.93 via patch
	etc/rc.d/resize_root: revisions 1.1-1.3
	etc/rc.d/root: revision 1.5
	sbin/resize_ffs/Makefile: revision 1.5
	sbin/resize_ffs/resize_ffs.8: revisions 1.14-1.16
	sbin/resize_ffs/resize_ffs.c: revisions 1.39-1.44
	share/man/man5/rc.conf.5: revision 1.158, 1.159
	tests/sbin/resize_ffs/Makefile: revision 1.4
	tests/sbin/resize_ffs/common.sh: revision 1.14
	tests/sbin/resize_ffs/t_check.sh: revision 1.1
	tests/sbin/resize_ffs/t_grow.sh: revision 1.9
	tests/sbin/resize_ffs/t_grow_swapped.sh: revision 1.3
	tests/sbin/resize_ffs/t_shrink.sh: revision 1.8
	tests/sbin/resize_ffs/t_shrink_swapped.sh: revision 1.2
fix image building:
         - round up the total size of the disk image
         - fix fdisk offset for netbsd ffs images
--
Make get_dev_size work on regular files too.
--
Use `!= -1' instead of `== 0' out of paranoia.
--
- Add -c to check to see if grow/shrink is required
- Divide by DEV_BSIZE when returning size of file.
- Update manpage
--
New sentence, new line. Sort option descriptions.
--
Add resize_root boot operation. If resize_root=YES in rc.conf then
the system attempts to resize the root file system to fill it's
partition prior to mounting read-write. Useful for things like AMI
file system images. May eventually be used by arm images after
coming up with similar solution for increasing the parition size.
--
- Add new tests for -c check flag in resize_ffs
--
Bump date for previous.
it's -> its
--
Handle case in grow() where last cylinder group is too small for ufs2.
Align with code in shrink().
--
factor out geometry calculation and use this also in CheckOnly mode.
be a bit more verbose in Verbose mode.
--
Add support for auto-growing the root partition. Enable it for rpi.img.
--
initialize resize before pulling in board config
--
add KEYWORD: interactive, honour resize_root_flags and
resize_root_postcmd rc vars
--
if the -p flag is specified, display a progress bar while growing the
file-system
--
show resize_ffs progress bar when resizing root partition
--
fix typo in previous; pass -y unconditionally to resize_ffs, not -p
--
Rename beagleboard.img to armv7.img. The new image includes the same
kernels as beagleboard.img plus support for Raspberry Pi 2, ODROID-C1,
Cubieboard2, Cubietruck, Hummingbird A31, and Banana Pi.
--
Properly spell X' name. From X(7):
        The  X.Org  Foundation  requests  that the following names be
used when
        referring to this software:
                                           X
                                    X Window System
                                     X Version 11
                              X Window System, Version 11
                                          X11
--
Add some documentation:
Tell what this does, and what it expects from conf files
--
Cleanup: make_filesystems is not used any longer, purge remains
--
More cleanup:
Instead of first overwriting the *_evbarm functions with own code,
and then calling them from the regular functions, directly put the
code into the regular functions.
No more functions from evbarm.conf are used now.
Some variables are still used!
--
define TOOL_MKUBOOTIMAGE for mkimage
--
fix mkubootimage
2015-08-06 21:13:43 +00:00
snj 0a8cdcd9cd Pull up following revision(s) (requested by christos in ticket #781):
common/lib/libc/stdlib/strtoi.c: revision 1.2
	common/lib/libc/stdlib/strtou.c: revision 1.2
	distrib/sets/lists/debug/mi: revision 1.113
	distrib/sets/lists/tests/mi: revision 1.617
	lib/libc/include/namespace.h: revision 1.178
	lib/libc/stdlib/Makefile.inc: revision 1.90 via patch
	lib/libc/stdlib/strtoi.3: revisions 1.1, 1.2
	lib/libc/stdlib/strtol.3: revision 1.32
	lib/libc/stdlib/strtou.3: revisions 1.1, 1.2
	lib/libc/stdlib/strtoul.3: revisions 1.30, 1.31
	tests/lib/libc/stdlib/Makefile: revision 1.25
	tests/lib/libc/stdlib/t_strtoi.c: revision 1.1
- new test for strtoi
- namespace protection for strto{i,u}
- separate manpages for strto{i,u} from the ones for strto{u,}l
From: Kamil Rytarowski
--
Sort ERRORS and SEE ALSO.
--
Sort ERRORS and SEE ALSO.
--
Sort SEE ALSO.
2015-05-16 17:58:46 +00:00
snj 7045c4492f Pull up following revision(s) (requested by bouyer in ticket #596):
distrib/sets/lists/tests/mi: revision 1.604
	tests/usr.bin/config/support/conf/Makefile: revision 1.2
	tests/usr.bin/config/support/conf/Makefile.kern.inc: revision 1.1
config(1): Fix test breakage
Now config(1) checks the content of $S/conf/Makefile.kern.inc.  Install it
into config(1) test directory to fix test.  Noticed by Martin Husemann.
2015-03-15 23:01:46 +00:00
snj 744af26d46 Pull up following revision(s) (requested by martin in ticket #416):
distrib/sets/lists/comp/md.hppa: revision 1.3
	include/fenv.h: revision 1.13 via patch
	lib/libm/Makefile: revision 1.168
	lib/libm/arch/hppa/fenv.c: revisions 1.1, 1.2
	sys/arch/hppa/include/Makefile: revision 1.12
	sys/arch/hppa/include/fenv.h: revisions 1.1, 1.2
	sys/arch/hppa/include/ieeefp.h: revisions 1.5-1.7
	tests/lib/libm/Makefile: revision 1.29 via patch
fenv(3) support for hppa
--
use unsigned over uint32_t so that this file works without stdint.h
being included before hand.
fixes mknative-gcc problems, and likely others.
--
Properly separate fenv.h and ieeefp.h by moving all fenv defines
over to the former.
Now that they are decoupled, make rounding modes match the hardware bits.
--
Simplify, now that rounding mode defines match the hardware bits.
2015-01-20 20:57:24 +00:00
martin 2c918cc268 Pull up following revision(s) (requested by gson in ticket #424):
tests/fs/vfs/t_vnops.c: revision 1.41
Mark udf_lookup_complex as an expected failure, referencing PR kern/49033.
Since it does not fail reliably, force it to fail to avoid spurious failure
reports due to unexpected success.
2015-01-17 11:51:33 +00:00
snj 53763ac378 Pull up following revision(s) (requested by gson in ticket #413):
tests/lib/libm/Makefile: revision 1.31
	tests/lib/libm/t_fmod.c: revision 1.3
Mark the lib/libm/t_fmod test as an expected failure under QEMU,
with a reference to PR misc/44767.
2015-01-12 21:03:09 +00:00
snj ec4f93ff62 Pull up following revision(s) (requested by gson in ticket #413):
tests/lib/libc/gen/isqemu.h: revision 1.4
Need stdlib.h for EXIT_FAILURE
2015-01-12 21:02:09 +00:00
msaitoh 3dab1d5b07 Pull up following revision(s) (requested by gson in ticket #346):
tests/lib/libpthread/t_cond.c: revision 1.6
The cond_timedwait_race test case is no longer expected to fail; it
has been consistently passing since CVS date 2014.01.31.19.22.00.
See also PR lib/44756.
2014-12-22 02:06:10 +00:00
martin 8d188960e5 Pull up following revision(s) (requested by gson in ticket #307):
tests/lib/librumpclient/h_execthr.c: revision 1.3
Update hardcoded fd expectations now that rump kernels open 0/1/2.
(since we exec, it's convenient to just assume the values of first 4 fds)
2014-12-09 20:23:14 +00:00
martin 66b8648010 Pull up following revision(s) (requested by gson in ticket #296):
tests/lib/libm/t_exp.c: revision 1.8
In the exp2_values test case, provide separate expected return values
for the float case, reflecting the actual exp2f() argument value after
rounding to float precision.  Fixes PR lib/49256.  Thanks to Makoto
Kamada and Tetsuya Isaki for the analysis.
2014-12-07 14:32:03 +00:00
snj b22eddb122 Pull up following revision(s) (requested by martin in ticket #287):
tests/ipf/t_nat_exec.sh: revision 1.21
Remove the "broken on BE" mark from the N14 testcase - ozaki-r fixed it
recently.
2014-12-01 20:03:35 +00:00
martin f7d1111887 Pull up following revision(s) (requested by ozaki-r in ticket #278):
tests/ipf/expected/n14: revision 1.6
	tests/ipf/expected/n14_6: revision 1.5
Fix wrong expected outputs
IP addresses in the expected outputs looks reversed (in byte order).
It seems the expected outputs had been generated based on source code
with a bug and the bug was fixed by a commit titled "#534 destination
list hashing not endian neutral" by darrenr@.
2014-12-01 10:37:32 +00:00
snj f096721133 Pull up following revision(s) (requested by agc in ticket #258):
tests/usr.bin/netpgpverify/t_netpgpverify.sh: revision 1.2
Since the netpgpverify rewrite to have no external pre-requisites, the
output format for signatures has changed cosmetically (mainly
whitespace changes).  Re-format all the test cases so that the tests
now pass again with the new output format:
	Tests root: /usr/tests/usr.bin/netpgpverify
	t_netpgpverify (1/1): 2 test cases
	    netpgpverify_dsa: [0.261980s] Passed.
	    netpgpverify_rsa: [0.237469s] Passed.
	[0.509571s]
	Summary for 1 test programs:
	    2 passed test cases.
	    0 failed test cases.
	    0 expected failed test cases.
	    0 skipped test cases.
2014-11-25 07:55:25 +00:00
snj c24833fb18 Pull up following revision(s) (requested by apb in ticket #135):
tests/lib/libutil/t_parsedate.c: revision 1.13
2013-07-09 was in British Summer TIme, so use tzoff=-60, not 0.
2014-10-11 16:55:32 +00:00
snj 4f6ce8edf5 Pull up following revision(s) (requested by apb in ticket #135.10):
tests/lib/libutil/t_parsedate.c: revision 1.12
When tests fail, print all args, notjust the date string.
2014-10-11 16:52:56 +00:00
snj eb3c6efd87 Pull up following revision(s) (requested by apb in ticket #135):
tests/lib/libutil/t_parsedate.c: revision 1.11
Add tests for PR lib/47916.  Some of these fail.
2014-10-11 16:47:00 +00:00
snj 09c40a2522 Pull up following revision(s) (requested by apb in ticket #135):
tests/lib/libutil/t_parsedate.c: revision 1.10
Adapt to a recent change in parsedate().
"9/10/69" still refers to 2069, and "9/10/70" still refers to 1970,
but "69-09-10" and "70-09-10" now refer to the years 69 and 70.
2014-10-11 16:45:24 +00:00
snj 8238f962c8 Pull up following revision(s) (requested by apb in ticket #135):
tests/lib/libutil/t_parsedate.c: revision 1.9
Add comments for some non-obvious cases.
Also add a test with year=70, which is documented to be treated as 1970.
2014-10-11 16:43:46 +00:00
snj 6066d1b75e Pull up following revision(s) (requested by apb in ticket #135):
tests/lib/libutil/t_parsedate.c: revision 1.8
Add local parsecheck() function and use it for several tests.
Instead of just checking that parsedate(3) does not return an error,
also pass the result through localtime_r(3) or gmtime_r(3) and check the
year/month/day/hour/minute/second fields in the resulting struct tm.
2014-10-11 16:42:45 +00:00
martin 2f5015e018 Pull up following revision(s) (requested by bouyer in ticket #63):
tests/lib/libpthread/t_swapcontext.c: revision 1.2
Go back to the initial context (as tests/lib/libc/sys/t_swapcontext.c does)
after checking pthread_self() didn't change. Otherwise the process exits
outside of atf context.
Should fix "Test case exited normally but failed to create the results file: Results file is empty" reports from atf-run.
2014-08-29 11:44:46 +00:00
tls ea6af427bd Merge tls-earlyentropy branch into HEAD. 2014-08-10 16:44:32 +00:00
martin e204327425 Do not set HAVE_FENV for arm as long as it misses feenableexcept(). 2014-08-10 12:01:57 +00:00
martin 41f262a02f Use the same condition for HAVE_FENV 2014-08-10 11:30:51 +00:00
matt 547b3a3b01 Changes to existing files to enable building AARCH64 userland.
evbarm64-el
This is clang only.  While gcc4.8 supports aarch64, no netbsd support has
been written for aarch64 with gcc4.8.
2014-08-10 05:56:36 +00:00
matt beb9c6d1b5 Preliminary files for AARCH64 (64-bit ARM) support.
Enough for a distribution build.
2014-08-10 05:47:35 +00:00
gson 643acb6d0e Test that reading a CTLTYPE_INT sysctl variable into a buffer that is
too small returns ENOMEM, and that reading it into a buffer that is
large enough returns the expected sizeof(int) bytes of data.
2014-08-09 07:04:03 +00:00
gson b6f40f55e0 Mark the udf_renamerace test case (but not udf_renamerace_dirs) as an
expected failure again, now with a reference to PR kern/49046.
Since the test only fails part of the time, force failure to
avoid failure reports reports due to unexpected success.
2014-07-29 09:15:48 +00:00
apb 91bc8fa990 Run scripts at build time via ${HOST_SH} 2014-07-27 14:24:17 +00:00
pgoyette fa995b7822 Remove atf_tc_expect_fail() calls for udf file-system. These tests are
currently passing.  As discussed on current-users.  Any new failures
should be reported via send-pr.
2014-07-25 13:44:59 +00:00
martin dbd2e87e49 PR kern/49033: try to provide better diagnostics if the udf_lookup_complex
test randomly fails.
2014-07-25 12:16:22 +00:00
christos 6030f04a15 amend the new destroy function to take function pointers. 2014-07-20 20:17:21 +00:00
christos 0579ed8b30 Add new minherit test. 2014-07-18 12:34:52 +00:00
martin 349f6dd23e Darren fixed n8 and n9 recently 2014-07-15 20:00:23 +00:00
martin 6877679165 NetBSD has an entry for protocol #255 in /etc/protocols labeled "reserved"
so expect that in the parsing output instead of 255.
2014-07-15 19:51:36 +00:00
gson 858def4e9a space after comma 2014-07-15 14:56:34 +00:00
alnsn 5977f956e5 Add a link to ../../net/bpfjit/t_extmem.c. 2014-07-14 19:11:15 +00:00
alnsn 2b2f4a0ebe Add bpfjit_cop_copx and bpfjit_copx_cop tests. 2014-07-13 21:35:33 +00:00
darrenr cccb715a0e Test n17_6 does not yet exist so remove unrequired files and test case 2014-07-12 14:37:12 +00:00
alnsn 674ca560ce Fix copy/paste error: s/rump_unschedule/rump_schedule/. 2014-07-09 15:56:12 +00:00
alnsn 467461f7c4 Add t_cop and t_extmem kernel bpfjit tests to the build. 2014-07-09 13:50:48 +00:00
alnsn f80c8c7700 Add t_cop and t_extmem kernel bpfjit tests. 2014-07-09 13:49:49 +00:00
alnsn 0240ba3c8b Add t_mbuf tests to the build. 2014-07-08 21:47:21 +00:00
alnsn f2b7757e98 Move bpfjit mbuf tests to t_mbuf.c. 2014-07-08 21:45:55 +00:00
alnsn e1f7888b18 Clone libbpfjit tests to check kernel implementation of bpfjit.
Old content of t_bpfjit.c will be moved to t_mbuf.c shortly.
Change packet buffers to unsigned char[] type.
2014-07-08 21:44:26 +00:00
alnsn f58748437d Rename bpfjit tests to libbpfjit. 2014-07-08 21:13:01 +00:00
alnsn 658efa8662 Rename bpfjit tests to libbpfjit, don't test zero buflen and a couple of
cosmetic changes.
2014-07-08 21:07:52 +00:00
pgoyette b9e0c7c1f5 Update disk-space-available requirement to match reality, and leave a
little extra just in case.  The test file is much larger than previously
indicated.

Thanks martin@ for detailed investigation.
2014-07-07 22:06:02 +00:00
alnsn 6cabebfe85 Add bpf/t_mbuf test to the build. 2014-07-07 19:41:22 +00:00
alnsn c129c2d504 Add rump tests for checking how bpf_validate() works with mbuf chains. 2014-07-07 19:40:28 +00:00
alnsn a8013faa06 Add some helper functions for bpf/bpfjit rump tests. 2014-07-07 19:34:32 +00:00