Commit Graph

914 Commits

Author SHA1 Message Date
yamt 8782935dec try to sync lists of rc.d scripts 2013-05-16 07:37:05 +00:00
joerg ecb06a3b09 Add build glue for libc++. 2013-04-27 23:02:17 +00:00
matt 12dfab37e0 Add MKCOMPAT support for earm 2013-04-27 07:59:09 +00:00
christos 0321fc22c0 add event2 2013-04-11 17:51:04 +00:00
martin 3357f1920b It helps being able to read - move if_athn entry to the proper directory 2013-03-30 18:14:50 +00:00
martin a809000618 Add if_athn firmware directory 2013-03-30 17:31:54 +00:00
christos 1386c00816 new test directories 2013-03-21 19:17:51 +00:00
christos 801939b819 fix typo 2013-03-12 20:22:00 +00:00
christos 36d75e6825 new directories for compat npf 2013-03-12 20:01:55 +00:00
christos 7026897f2b fix typo, from Henning Petersen 2013-03-11 23:17:34 +00:00
christos c9f0cc4510 mv npf modules to /lib 2013-03-10 21:40:05 +00:00
christos b50b975dbc PR/47630: Petar Bogdanovic: add ssh_host_ecdsa_key to /etc/mtree/special 2013-03-08 14:31:28 +00:00
joerg e240adbd0b Retire OSI network stack. OK core@ 2013-03-01 18:25:13 +00:00
jmmv 48b2f2c970 Add new directories for kyua-atf-compat. 2013-02-25 00:31:51 +00:00
jmmv 47840f72d0 Install a kyua.conf file that sets unprivileged_user to _tests. 2013-02-24 03:06:13 +00:00
jmmv edcb14a44e Install kyua-testers' distribution documents. 2013-02-23 14:58:11 +00:00
jmmv 89e4f17129 Register directories and files provided by kyua-cli. 2013-02-23 14:18:36 +00:00
jmmv dbf5b53da3 Enable the build of kyua-testers and register its files and directories.
This is conditional on MKKYUA.
2013-02-19 06:06:39 +00:00
jmmv 7d3a48f1d2 Hook Lutok into the build. This is all protected by the MKKYUA guard. 2013-02-16 21:40:05 +00:00
jmmv 8f212f1945 Move tests for examples from tests/examples to tests/share/examples.
This is to match the layout of the installed and source files more closely.
While doing this, honor the MKSHARE variable, as the files these tests
validate are only installed when MKSHARE=yes.
2013-02-16 12:44:25 +00:00
joerg fa9d9d71df Update LLVM/Clang snapshot to r172366. Catch up with the move past 3.2
release.
2013-01-23 15:02:52 +00:00
spz 93a9300055 add entries built for MKDEBUG and MKDEBUGLIB to the set lists
Thanks to Hisashi T Fujinaka <htodd@twofifty.com> for pointing out the gap.
2012-12-18 22:45:12 +00:00
spz 0d6a8650f8 Make the compat libs of npf extension shared libraries go to the
compat directories instead of overwriting the arch native libs.
Also, make sure the compat directories get created. Tested on amd64.
2012-12-09 22:06:21 +00:00
njoly a23dfbdc09 Adjust for usr/tests/lib/libc/c063 debug entries. 2012-11-23 08:36:47 +00:00
pgoyette 7feb2e8135 Also give install a place to put the atf tests for netpgpverify 2012-11-20 15:41:43 +00:00
pgoyette 7e4aef559e Fix the build - give install a place to put verify.h ! 2012-11-20 15:02:44 +00:00
manu a76c1cc17f Add most system calls for POSIX extended API set, part 2, with test cases:
faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2),
mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2),
utimensat(2), openat(2).

Also implement O_SEARCH for openat(2)

Still missing:
- some flags for openat(2)
- fexecve(2) implementation
2012-11-18 17:41:51 +00:00
njoly a02a44ee48 Adjust for tests/lib/{libbpfjit,libsljit} debug entries. 2012-11-12 09:03:52 +00:00
alnsn 062bf78a84 Build libbpfjit test to the build. 2012-11-11 17:41:31 +00:00
alnsn ffd8736098 Build sljit test when MKSLJIT != no and set MKSLJIT to yes on amd64 and i386. 2012-11-05 00:57:39 +00:00
skrll 2d427fcfd7 Add ./usr/libdata/debug/usr/lib/npf for rmind 2012-09-18 15:12:31 +00:00
rmind 94cf4e2062 Add /usr/lib/npf. 2012-09-16 16:15:29 +00:00
martin e8e9f65b79 New test directory for npf 2012-09-12 14:07:10 +00:00
jmmv 80b30d8cdf Add placeholder test programs for share/mk files.
The main goal of this change is to simplify the further addition of test
cases for the share/mk infrastructure by adding a few placeholder test
programs to the tests tree.

To not leave these test programs empty, I have added a bunch of extremely
simple test cases to them.
2012-08-26 23:03:20 +00:00
spz c60c5ec2d8 actually install the new npf examples
add examples for a hash table file and a tree table file
add an ID string to host-npf.conf
2012-08-22 06:45:15 +00:00
alnsn e7e64dcaa1 Build and install t_bpfilter. 2012-08-14 19:13:54 +00:00
christos 79aa9f3662 add fdpass directories 2012-08-13 11:17:43 +00:00
njoly 734339d201 Add testcase for PR/46743 2012-07-28 16:08:39 +00:00
joerg c91c5846f7 + /usr/tests/usr.bin/nbperf 2012-07-22 21:04:44 +00:00
kefren 690d3837f6 add ldpd rc.d script here too 2012-06-28 16:34:06 +00:00
pgoyette ef11cb81d1 Add directory for usr/include/dev/filemon/ 2012-06-21 04:30:04 +00:00
joerg c9196b81ce Update LLVM/Clang snapshot to r158533. This brings in support for
stack-realignment in functions using alloca on x86. Move to
/usr/include/clang-3.2 to reflect the version.
2012-06-16 17:01:02 +00:00
riz 49449523c7 Add firmware for the RealTek RTL8192CU family of wireless chipsets, and
adapt the urtwn(4) driver to use the new files.  The firmware files were
extracted from the Linux driver at www.realtek.com, version 0005.1230.2011
and the license permits redistribution without modification.

While I'm here, install the files in /libdata/firmware/if_urtwn, like
most of the other network adapter firmware.

urtwn(4) can now operate without needing external files installed.  Tested
on my Edimax adapter.
2012-06-14 04:14:35 +00:00
martin c1004a7836 Add a basic test for infocmp - this would have cought todays terminfo
lossage (PR lib/46553).
2012-06-06 21:23:10 +00:00
nonaka c9051a9fd6 Use /libdata/firmware/run instead of /libdata/firmware/rum for run(4) firmwares. 2012-06-01 13:19:38 +00:00
martin f1b12ec580 Add new test directory 2012-05-27 23:03:24 +00:00
jruoho af62c3b4d8 Add a test case for PR kern/46463. From Richard Hansen. 2012-05-18 15:25:25 +00:00
jruoho c7358053ef Add a test case for PR bin/39546. 2012-04-19 18:51:35 +00:00
jruoho 0953dc8744 Add a test case for PR kern/46328 (tested naively with tcpdump(8)). 2012-04-14 12:21:45 +00:00
pgoyette df3c343ded Revert previous - k_helper3 does not get installed in a subdirectory.
Doing it this way will prevent us from creating the subdirectory on
non-MODULAR systems.  That would have caused a build break due to the
unexpected empty directory.
2012-04-14 02:48:44 +00:00
pgoyette 04ec1fc554 Create the directory for the helper program; hopefully fixes the build
break.

XXX It's odd that k_helper3 needs to have its directory pre-created, when
XXX k_helper, k_helper2, and k_uvm don't need it...
2012-04-14 00:14:22 +00:00
jruoho 47dea51ec6 Add regression tests for PR bin/3914 and PR bin/27140. 2012-03-30 09:27:10 +00:00
jruoho 651e2c6948 Add regression tests for the 1990s bugs PR bin/3538 and PR bin/4841. 2012-03-27 08:16:33 +00:00
nonaka db4c04c984 Added urtwn(4), a driver for Realtek RTL8188CU/RTL8192CU USB IEEE 802.11b/g/n wireless network devices. 2012-03-25 00:11:16 +00:00
jruoho 327776ba0b Add regression tests for PR bin/12424, PR bin/12316, and PR bin/14253,
all fixed long time ago.
2012-03-20 06:18:33 +00:00
njoly d0df4f4862 Adjust to unbreak mkdebug build. 2012-03-19 11:16:36 +00:00
jruoho 3a662fafc9 Add regression tests for PR bin/2642 and PR bin/23836, both fixed long ago. 2012-03-19 07:05:18 +00:00
jruoho 1ff69b68e3 Add a case for PR bin/44973. 2012-03-18 12:40:42 +00:00
jruoho 0498995f9f Add a test case for PR bin/28126. Does not fail with GNU sed. 2012-03-18 10:12:30 +00:00
jruoho 840bc631fa Adjust set lists and mtree. 2012-03-17 17:16:41 +00:00
jruoho 2fb9c76e0d Adjust set lists and mtree. 2012-03-17 16:35:02 +00:00
jruoho 869580eb48 Adjust set lists and mtree. 2012-03-11 18:45:19 +00:00
christos c513c5c06e add awk test directory 2012-03-10 19:11:36 +00:00
njoly 481c9a313f Do not create obsolete ./usr/include/quota directory anymore. 2012-02-16 22:22:27 +00:00
wiz eb3bd4bbdc Obsolete /usr/share/man/cat3f that never contained any files, nor will it. 2012-02-14 14:03:34 +00:00
martin 0ce98f42a7 Move posix_spawn tests to lib/libc/gen/posix_spawn - they test both libc
and kernel, but that is an implementation detail unrelated to the tests
themselfs.
Ok: releng
2012-02-13 21:03:06 +00:00
martin 19f52532ad Add userland part of posix_spawn. Libc functions imported from FreeBSD.
Based on Charles Zhang's summer of code project.
2012-02-11 23:31:22 +00:00
pgoyette d7450be19d Use the correct userid
Hello, christos
2012-01-28 05:32:49 +00:00
christos 493ac06fcb - add _tss user for tcsd, and needed directories for TrouSerS.
This is all unused as of now because the trousers is not connected to
the build yet.
2012-01-28 02:17:29 +00:00
pgoyette 5dd52f2538 Add directory for libcrypt tests 2011-12-27 14:51:15 +00:00
christos 19bd33b453 add fifofs 2011-12-21 01:58:46 +00:00
tsutsui a7f5216f76 Add an rc.d(8) script for isibootd(8). Taken from ndbootd(8). 2011-12-17 13:37:49 +00:00
taca 093293c2cb According to /etc/rc.d/mdnsd, /var/run/mdnsd is owned by _mdnsd:_mdnsd
if it created.  So, set owner/group of /var/run/mdnsd.

It stop a useless warning in /etc/security.
2011-12-08 01:15:02 +00:00
tls aae64c95c0 Make the rndsave structure public -- the kernel will learn to read it
and sysinst may learn to write it (since, on some systems, most of
the keyboard input they ever get happens to be during install).  Fix a
couple of minor problems with the random_seed rc script addition.
2011-11-26 01:17:17 +00:00
jmmv ccfedeb2ca Register directories for the new asm examples and their tests. 2011-11-12 01:19:40 +00:00
njoly 3f1f7fac1b +./usr/libdata/debug/usr/tests/lib/libtre 2011-11-07 13:39:54 +00:00
christos d85ad0736b add libtre test directories 2011-11-06 18:45:04 +00:00
mbalmer e0c22d6455 Install, and add to the set lists, example code to illustrate Lua module use. 2011-10-15 13:00:59 +00:00
mbalmer 63bfe64311 Link the gpio(4) Lua module to the build and add it to the set lists.
(There is no manual page yet, since we have not yet decided where to put
them for Lua modules.)
2011-10-08 13:14:03 +00:00
pgoyette c2d58f1a39 Also re-add usr/include/dev/i2c to the mtree file 2011-10-02 19:31:45 +00:00
jruoho 4a45a29ad9 Move the tests/libc/ieeefp to tests/libc/gen to match the structure of libc.
Also rename the test files to gain functional scope.
2011-09-19 05:25:50 +00:00
apb 00aba3793b Revert previous now that "make cleandir" uses bsd.clean.mk to clean
both the obj dir and the src dir.
2011-09-10 17:02:46 +00:00
apb ed56faf952 Use ${.OBJDIR}/NetBSD.dist.tmp instead of just NetBSD.dist.tmp.
This fixes a problem in which NetBSD.dist.tmp had been created in
the SRCDIR by an earlier build (performed without an OBJDIR), and
the existence of the file in the SRCDIR confused a subsequent build
(performed with an OBJDIR).
2011-09-05 09:57:02 +00:00
mrg f385d8f556 add the device publish daemon, written by jmcneill@.
listens on drvctl for new devices and invokes MAKEDEV for them.

missing:
  - manual page
  - rc.d script
  - more testing

but it works well enough to make new disk nodes appear in /dev when
netbsd sees them and they're missing.  you will need to make sure
you have a new /dev/MAKEDEV for this to work properly (postinstall
should handle this normally, of course.)


thanks jared!
2011-08-29 11:38:48 +00:00
dyoung 581feba28b Straggler from last: add the directory for ppath(3) tests. 2011-08-27 19:02:29 +00:00
dyoung 9943264696 Build and install ppath(3), property-list paths library. 2011-08-26 21:22:07 +00:00
mrg a57ef5ffad remove unused directory. 2011-07-23 12:13:17 +00:00
jmcneill 67cb532cd4 add /usr/include/dev/dtv 2011-07-09 14:55:44 +00:00
jruoho 1d3a88895d Remove ../tests/syscall. 2011-07-07 07:40:46 +00:00
mrg e712e9f0f1 various updates for GCC 4.5. finally obsolete some very old gcc stuff. 2011-07-01 02:10:07 +00:00
nonaka c52f9a5df2 PR/45015: ld.elf_so: support ELF symbol versioning
Applied latest patch.
2011-06-25 05:45:10 +00:00
njoly 3fa42f3842 Add testcase for PR bin/45004, to exercize suffixes lists for
mkdep(1).
2011-05-30 18:14:11 +00:00
plunky b52bb12959 provide a new 'bluetooth' rc.d script, to handle Bluetooth configuration
in a simpler manner. This replaces btattach, btconfig, bthcid, btdevctl
and sdpd scripts, and also should not require any configuration settings
other than "bluetooth=YES", though the full range of configurations is
still possible.
2011-05-27 09:28:41 +00:00
jruoho f33b8e3d59 Add a test case for PR kern/44946. This tests that common first level sysctl
nodes (ddb, hw, machdep, etc.) are not writable by a normal user.
2011-05-09 17:53:54 +00:00
jruoho f9b73fbc67 Follow the real tree with the test directory structure. 2011-05-05 05:39:10 +00:00
jruoho cb861154c1 Add a test case for PR bin/26453. 2011-05-03 15:13:50 +00:00
jruoho 6e1e04d65f Add a test for PR bin/41880. 2011-05-03 08:36:15 +00:00
jruoho 765b090a54 A test for non-critical/low PR bin/42179. 2011-05-03 07:56:42 +00:00
jruoho 1f57069f96 Verify that PR bin/42628 is no longer an issue. 2011-05-03 07:23:19 +00:00
jruoho b76e0d98ce Add a test for non-critical/low PR bin/43141. 2011-05-03 06:13:06 +00:00
njoly ac283d741a Add back usr/libdata/debug/usr/tests/lib/libc/termios, needed for
debug builds.
2011-05-02 11:55:15 +00:00
pgoyette f2fa6a434c Get this right. It was not the debugdata directory that was missing... 2011-05-02 08:11:41 +00:00
pgoyette fd32cbc50c Add tests/lib/libc/termios subdirectory to accomodate jruoho's new test
t_tcsetpgrp
2011-05-02 02:43:04 +00:00
mbalmer 5f971e5eac Add Japan CBM character codes. 2011-04-27 20:05:56 +00:00
joerg 0cef9f9563 Add MKBSDGREP switch for easy testing of the GNU grep
replacement/alternative.
2011-04-21 14:26:33 +00:00
martin 470f713611 Get rid of var/chroot/tcpdump/etc 2011-04-17 13:07:18 +00:00
christos ccbde8e579 add cat8 and html8 2011-04-16 21:58:31 +00:00
christos dbc12114aa sort and add x86 2011-04-16 17:16:12 +00:00
joerg 873b4d7d94 Install clang's MD headers into /usr/include/clang-3.0 similar to GCC. 2011-04-15 19:31:06 +00:00
joerg dd04acc9a4 Move the headers for compiler and platform specific intrinsincs from
/usr/include to /usr/include/gcc-4.1.
2011-04-15 13:42:22 +00:00
matt 960a25c780 Add missing ./usr/libdata/debug/usr/tests/lib/libcurses 2011-04-12 17:07:52 +00:00
martin 75b76dfeb7 When run as root, tcpdump will chroot to /var/run/tcpdump - but it can
not look up /etc/protcols in there. So install a copy of /etc/protocols
into the chroot area.
Fixes PR bin/44721.
2011-04-11 20:03:45 +00:00
blymn 4743999381 Add libcurses to tests. 2011-04-10 09:45:59 +00:00
pgoyette 324074b933 atf-ify the various locale tests 2011-04-09 17:45:24 +00:00
plunky 77d265be45 link libbluetooth tests to the build 2011-04-07 06:24:07 +00:00
bouyer d9210c2405 Add a new libquota library, which contains some blocks to build and/or
parse quota plists; as well as a getfsquota() function to retrieve quotas
for a single id from a single filesystem (whatever filesystem this is:
a local quota-enabled fs or NFS). This is build on functions getufsquota()
(for local filesystems with UFS-like quotas) and getnfsquota();
which are also available to userland programs.
move functions from quota2_subr.c to libquota or libprop as appropriate,
and ajust in-tree quota tools.
move some declarations from kernel headers to either sys/quota.h or
quota/quota.h as appropriate. ufs/ufs/quota.h still installed because
it's needed by other installed ufs headers.
ufs/ufs/quota1.h still installed as a quick&dirty way to get a code
using the old quotactl() to compile (just include ufs/ufs/quota1.h instead of
ufs/ufs/quota.h - old code won't compile without this change and this is
on purpose).
Discussed on tech-kern@ and tech-net@ (long thread, but not much about
libquota itself ...)
2011-03-24 17:05:39 +00:00
pooka 0d3ccf3fed tests/fs/zfs 2011-03-10 20:03:40 +00:00
pooka 9eacb1b321 rumpnet tests 2011-03-10 14:11:18 +00:00
jmmv a3fddfa529 Enable the build of tmux and add the necessary directory and file entries. 2011-03-10 13:16:57 +00:00
pooka d1535ddeaf shmif_dumpbus tests 2011-03-10 11:16:03 +00:00
joerg aad599979d Add TLS support infrastructure. For dynamic binaries, ld.elf_so exports
_rtld_tls_allocate and _rtld_tls_free. libpthread uses this functions to
setup the thread private area of all new threads. ld.elf_so is
responsible for setting up the private area for the initial thread.
Similar functions are called from _libc_init for static binaries, using
dl_iterate_phdr to access the ELF Program Header.

Add test cases to exercise the different TLS storage models. Test cases
are compiled and installed on all platforms, but are skipped on
platforms not marked for TLS support.

This material is based upon work partially supported by
The NetBSD Foundation under a contract with Joerg Sonnenberger.

It is inspired by the TLS support in FreeBSD by Doug Rabson and the
clean ups of the DragonFly port of the original FreeBSD modifications.
2011-03-09 23:10:05 +00:00
mrg 722355d60d install xorg-server.m4 at the request of jmcneill. 2011-03-06 22:15:29 +00:00
bouyer 063f96f3c2 merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs
metadata. Usage is checked by fsck_ffs (no more quotacheck)
and is covered by the WAPBL journal. Enabled with kernel
option QUOTA2 (added where QUOTA was enabled in kernel config files),
turned on with tunefs(8) on a per-filesystem
basis. mount_mfs(8) can also turn quotas on.

See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.
2011-03-06 17:08:10 +00:00
pooka f89c56e204 new testdirs 2011-02-24 10:29:04 +00:00
christos 555418b829 fix wrong path. Pointed by Anon Ymous 2011-02-20 19:23:19 +00:00
christos ab765c5256 missing directory 2011-02-20 16:23:59 +00:00
christos 63a9799e3a Add the libsaslc example dir. 2011-02-20 02:16:05 +00:00
pooka 051ff4a0eb hfs 2011-02-18 13:08:41 +00:00
matt 9767c9385f Add missing / 2011-02-10 19:17:35 +00:00
matt ad579a7d9b Add debugdirs for o32 and 64 2011-02-10 19:12:44 +00:00
pooka cf0dbcff8b more testies 2011-02-09 14:34:42 +00:00
pooka deba567af1 oh no, more tests 2011-02-08 10:13:13 +00:00
pooka c221725e98 librumphijack build infra 2011-02-06 18:47:55 +00:00
pooka 6e2c74cec3 + tests/usr.bin
+ tests/usr.bin/rump_server
2011-02-03 15:39:50 +00:00
rmind 07ac07d35f NPF checkpoint:
- Add libnpf(3) - a library to control NPF (configuration, ruleset, etc).
- Add NPF support for ftp-proxy(8).
- Add rc.d script for NPF.
- Convert npfctl(8) to use libnpf(3) and thus make it less depressive.
  Note: next clean-up step should be a parser, once dholland@ will finish it.
- Add more documentation.
- Various fixes.
2011-02-02 02:20:24 +00:00
jym 2ba7d66f55 Typo fix. 2011-02-01 21:28:43 +00:00
pooka 84a1daa21a add sandpoint dirs for man chapter 4, they seem to be required now 2011-01-26 15:00:56 +00:00
pooka 5f7e80a834 Add support for the Extensible MIPS ("eMIPS") platform. The
NetBSD/emips port runs on Xilinx and Beecube FPGA systems and the
Giano system simulator.

eMIPS is a platform developed at Microsoft Research for researching
reconfigurable computing.  eMIPS allows dynamic loading and scheduling
of application-specific circuits for the purpose of accelerating
computations based on the current workload.

NetBSD eMIPS support for NetBSD 4.x was written at Microsoft Research
by Alessandro Forin and Neil Pittman.  Microsoft Corporation has
donated full copyright to The NetBSD Foundation.

Platform support for eMIPS is the first part of Microsoft's
contribution.  The second part includes the hardware accelerator
framework and will be proposed on tech-kern soon.
2011-01-26 01:18:43 +00:00
pooka 0625d22c3c h_server is back, now testier than ever 2011-01-14 13:24:45 +00:00
pgoyette 809681d76f Sets-list and mtree dance for t_inet_network 2011-01-13 13:54:23 +00:00
pgoyette 1de58405f0 sets-list and mtree dance for moving t_mktime & t_strptime 2011-01-13 00:16:34 +00:00
pgoyette 893f5724c6 Hook up the getaddrinfo test in its new location 2011-01-12 02:59:16 +00:00
pgoyette f923271858 sets-list dance for getaddrinfo test 2011-01-11 16:31:32 +00:00
pooka f6b3a097e6 +tests/net/net 2011-01-11 10:55:27 +00:00
njoly 0938ffa1c1 Add lib/libc/sys test dirs. 2011-01-10 17:17:36 +00:00
pgoyette 99902ed6a7 sets-list dance for atf version of regex test 2011-01-08 18:11:21 +00:00
pgoyette 871c88bcef mtree and set-list games for xdr test 2011-01-08 07:00:17 +00:00
pgoyette 27aeaab683 Hook the new atf db test 2011-01-07 15:06:37 +00:00
pgoyette 016a7f9b90 Hook t_cerror and t_ttyio into the build 2011-01-07 02:49:09 +00:00
haad 912a040b47 Allow operator to use lvm in read-only mode. Switch LVM lock dir to
/var/run/lvm and create it in rc.d/mountcritlocal. Fix dm control device
permissions to allow rw for operator.

Test if we are running lvm commands as operator and if that it's true do not
create vg backups and do not print confusing warning.
2011-01-05 14:57:27 +00:00