aboutsummaryrefslogtreecommitdiff
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
...
* bring in diagnostic tools that are useful now that we have hal source codeSam Leffler2008-12-0723-7/+4222
| | | | Notes: svn path=/head/; revision=185743
* This is simple testing program for revision 185647.Ganbold Tsagaankhuu2008-12-061-0/+81
| | | | | | | | | | It invokes multiple parallel threads and each thread calls vfork() system call. Approved by: kib Notes: svn path=/head/; revision=185695
* Update for 185401, errors now go to stderr.Stefan Farfeleder2008-11-281-0/+0
| | | | Notes: svn path=/head/; revision=185402
* Add tools-level test for POSIX.1e functionality.Edward Tomasz Napierala2008-11-253-0/+632
| | | | | | | Approved by: rwatson (mentor) Notes: svn path=/head/; revision=185304
* This actually works on Linux, I just had wrong directory permission.Pawel Jakub Dawidek2008-11-241-4/+0
| | | | | | | Found by: trasz Notes: svn path=/head/; revision=185252
* Include TODO messages even if tests succeeds, so we can detect when somethingPawel Jakub Dawidek2008-11-241-6/+18
| | | | | | | suddenly started to work. Notes: svn path=/head/; revision=185251
* Add a test for r185231.Stefan Farfeleder2008-11-231-0/+9
| | | | Notes: svn path=/head/; revision=185232
* Mark all the places where Linux is not POSIX-compilant. Tested on ext3.Pawel Jakub Dawidek2008-11-233-0/+8
| | | | Notes: svn path=/head/; revision=185229
* fstest for Linux:Pawel Jakub Dawidek2008-11-239-56/+53
| | | | | | | | | | - Use -- when needed so Linux getopt(3) won't get confused. - Follow POSIX more closely. Submitted by: Szabolcs Szakacsits <szaka@ntfs-3g.org> Notes: svn path=/head/; revision=185227
* fstest for Linux:Pawel Jakub Dawidek2008-11-231-2/+26
| | | | | | | Automatically detect file system type. Notes: svn path=/head/; revision=185223
* FreeBSD's way of handling rmdir("..") is not POSIX-compilant.Pawel Jakub Dawidek2008-11-231-9/+3
| | | | Notes: svn path=/head/; revision=185221
* Shorter version.Pawel Jakub Dawidek2008-11-231-14/+4
| | | | Notes: svn path=/head/; revision=185220
* Add support for pathconf(2).Pawel Jakub Dawidek2008-11-231-1/+57
| | | | Notes: svn path=/head/; revision=185219
* Detect operating system automatically.Pawel Jakub Dawidek2008-11-231-5/+21
| | | | Notes: svn path=/head/; revision=185218
* fstest for Linux:Pawel Jakub Dawidek2008-11-231-4/+27
| | | | | | | | - Use /dev/urandom, it is more portable. - Implement todo() function which allows to mark known failures. Notes: svn path=/head/; revision=185216
* IFp4: Regression tests for FreeBSD/ZFS chflags(2)/lchflags(2).Pawel Jakub Dawidek2008-11-2214-88/+136
| | | | Notes: svn path=/head/; revision=185173
* Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes.Pawel Jakub Dawidek2008-11-1754-0/+12014
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This bring huge amount of changes, I'll enumerate only user-visible changes: - Delegated Administration Allows regular users to perform ZFS operations, like file system creation, snapshot creation, etc. - L2ARC Level 2 cache for ZFS - allows to use additional disks for cache. Huge performance improvements mostly for random read of mostly static content. - slog Allow to use additional disks for ZFS Intent Log to speed up operations like fsync(2). - vfs.zfs.super_owner Allows regular users to perform privileged operations on files stored on ZFS file systems owned by him. Very careful with this one. - chflags(2) Not all the flags are supported. This still needs work. - ZFSBoot Support to boot off of ZFS pool. Not finished, AFAIK. Submitted by: dfr - Snapshot properties - New failure modes Before if write requested failed, system paniced. Now one can select from one of three failure modes: - panic - panic on write error - wait - wait for disk to reappear - continue - serve read requests if possible, block write requests - Refquota, refreservation properties Just quota and reservation properties, but don't count space consumed by children file systems, clones and snapshots. - Sparse volumes ZVOLs that don't reserve space in the pool. - External attributes Compatible with extattr(2). - NFSv4-ACLs Not sure about the status, might not be complete yet. Submitted by: trasz - Creation-time properties - Regression tests for zpool(8) command. Obtained from: OpenSolaris Notes: svn path=/head/; revision=185029
* Add a test for the "or more" part of the following POSIX specification.Diomidis Spinellis2008-11-112-1/+3
| | | | | | | | | "A function can be preceded by one or more '!' characters, in which case the function shall be applied if the addresses do not select the pattern space." Notes: svn path=/head/; revision=184852
* Make test for write access to the directory being moved a little moreEdward Tomasz Napierala2008-11-071-5/+9
| | | | | | | | | specific. Approved by: rwatson (mentor) Notes: svn path=/head/; revision=184749
* Improve output when a test fails.Edward Tomasz Napierala2008-11-071-2/+2
| | | | | | | Approved by: rwatson (mentor) Notes: svn path=/head/; revision=184748
* Change ZFS behaviour to match UFS: when moving (rename(2)) a subdirectoryEdward Tomasz Napierala2008-11-061-0/+38
| | | | | | | | | | from one parent directory to another, in addition to the usual access checks one also needs write access to the subdirectory being moved. Approved by: rwatson (mentor), pjd Notes: svn path=/head/; revision=184737
* Implement support for RPCSEC_GSS authentication to both the NFS clientDoug Rabson2008-11-034-0/+725
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and server. This replaces the RPC implementation of the NFS client and server with the newer RPC implementation originally developed (actually ported from the userland sunrpc code) to support the NFS Lock Manager. I have tested this code extensively and I believe it is stable and that performance is at least equal to the legacy RPC implementation. The NFS code currently contains support for both the new RPC implementation and the older legacy implementation inherited from the original NFS codebase. The default is to use the new implementation - add the NFS_LEGACYRPC option to fall back to the old code. When I merge this support back to RELENG_7, I will probably change this so that users have to 'opt in' to get the new code. To use RPCSEC_GSS on either client or server, you must build a kernel which includes the KGSSAPI option and the crypto device. On the userland side, you must build at least a new libc, mountd, mount_nfs and gssd. You must install new versions of /etc/rc.d/gssd and /etc/rc.d/nfsd and add 'gssd_enable=YES' to /etc/rc.conf. As long as gssd is running, you should be able to mount an NFS filesystem from a server that requires RPCSEC_GSS authentication. The mount itself can happen without any kerberos credentials but all access to the filesystem will be denied unless the accessing user has a valid ticket file in the standard place (/tmp/krb5cc_<uid>). There is currently no support for situations where the ticket file is in a different place, such as when the user logged in via SSH and has delegated credentials from that login. This restriction is also present in Solaris and Linux. In theory, we could improve this in future, possibly using Brooks Davis' implementation of variant symlinks. Supporting RPCSEC_GSS on a server is nearly as simple. You must create service creds for the server in the form 'nfs/<fqdn>@<REALM>' and install them in /etc/krb5.keytab. The standard heimdal utility ktutil makes this fairly easy. After the service creds have been created, you can add a '-sec=krb5' option to /etc/exports and restart both mountd and nfsd. The only other difference an administrator should notice is that nfsd doesn't fork to create service threads any more. In normal operation, there will be two nfsd processes, one in userland waiting for TCP connections and one in the kernel handling requests. The latter process will create as many kthreads as required - these should be visible via 'top -H'. The code has some support for varying the number of service threads according to load but initially at least, nfsd uses a fixed number of threads according to the value supplied to its '-n' option. Sponsored by: Isilon Systems MFC after: 1 month Notes: svn path=/head/; revision=184588
* o unbreak ani stat displaySam Leffler2008-10-291-5/+9
| | | | | | | o improve some labels Notes: svn path=/head/; revision=184453
* sync w/ driver updates; this also brings in ani statsSam Leffler2008-10-273-19/+270
| | | | Notes: svn path=/head/; revision=184371
* add regdomain knobSam Leffler2008-10-271-0/+3
| | | | Notes: svn path=/head/; revision=184370
* #ifdef out the lock-against-self test. I'm not sure it makes sense, andDag-Erling Smørgrav2008-10-201-0/+4
| | | | | | | | | it relies on non-portable flock(2) semantics. Not only is flock(2) not portable, but on some OSes that do have it, it is implemented in terms of fcntl(2) locks, which are per-process rather than per-descriptor. Notes: svn path=/head/; revision=184090
* add -n option to suppress clearing the build tree and add -DNO_CLEANSam Leffler2008-10-191-2/+18
| | | | | | | to buildworld and/or buildkernel Notes: svn path=/head/; revision=184048
* Avoid failing if the directory already exists (when restarting at customize).Nick Hibma2008-10-091-1/+1
| | | | | | | MFC after: 2 days Notes: svn path=/head/; revision=183727
* Update udpzerobyte to understand that passing 0 as a length to recv(2)Robert Watson2008-10-071-5/+26
| | | | | | | | | | | will cause it to return 0, not EAGAIN. Add UNIX domain socket support to udpzerobyte, which suggests this regression test should be moved to the general sockets test area rather than netinet. Notes: svn path=/head/; revision=183676
* Add IPv6 support to zero-size UDP transmit/receive test.Robert Watson2008-10-071-27/+47
| | | | Notes: svn path=/head/; revision=183668
* Regression test for the loopback handling of zero-length UDP packets, whichRobert Watson2008-10-072-0/+111
| | | | | | | should be delivered but without payload. Notes: svn path=/head/; revision=183666
* Add very simple regression test for fstat(2) on sockets: make sure itRobert Watson2008-10-062-0/+80
| | | | | | | | returns success for various socket types. It's easy to imagine this being enhanced to validate the returned data, but... Notes: svn path=/head/; revision=183652
* In cust_install_files() we ignore CVS directories. In a similar way nowSimon L. B. Nielsen2008-09-231-1/+1
| | | | | | | also ignore .svn directories. Notes: svn path=/head/; revision=183315
* - Change all "echo #..." into using a progress print function to make itSimon L. B. Nielsen2008-09-231-41/+65
| | | | | | | | | | | | | | possible to make NanoBSD output more quite or verbose. The default output should remain mostly unchanged. [1] - Add missing shift for -i. - Clean up usage() so it's now (mostly) sorted alphabetically. - Make command line argument handling more consistent in the code and remove redundant semicolons. Reviwed by: phk [1] Notes: svn path=/head/; revision=183314
* add missing optionsSam Leffler2008-09-232-0/+7
| | | | Notes: svn path=/head/; revision=183306
* add missing optionsSam Leffler2008-09-232-0/+5
| | | | Notes: svn path=/head/; revision=183305
* * Add USB boot support.Bruce M Simpson2008-09-221-5/+52
| | | | | | | | | | | | | * Allow the image name to be renamed via NANO_IMGNAME. * Propagate TARGET_ARCH into src top level make targets explicitly to support cross-building. * Increase the default size of NanoBSD media from 488MB to 584MB to accomodate a -CURRENT world. Reviewed by: phk Notes: svn path=/head/; revision=183284
* Mark the first slice of a NanoBSD image 'active' by default.Bruce M Simpson2008-09-221-0/+4
| | | | | | | | | | This fixes USB boot (not yet merged to HEAD) with 3 flavours of BIOS I've seen. Approved by: phk Notes: svn path=/head/; revision=183279
* add new build knobs and jigger some existing controls to improveSam Leffler2008-09-2126-0/+99
| | | | | | | | | | | control over the result of buildworld and installworld; this especially helps packaging systems such as nanobsd Reviewed by: various (posted to arch) MFC after: 1 month Notes: svn path=/head/; revision=183242
* Include $NANO_NAME in the completed message. This is nice if you areSimon L. B. Nielsen2008-09-211-1/+1
| | | | | | | | building multiple NanoBSD images at once to keep track of what is running and what isn't. Notes: svn path=/head/; revision=183237
* eliminate hardwired lists; use the media type to autoconfigSam Leffler2008-09-211-3/+17
| | | | Notes: svn path=/head/; revision=183219
* Add files to remove when WITHOUT_HESIOD is set.Antoine Brodin2008-09-131-3/+7
| | | | | | | | | | This fixes "make check-old" when WITH_HESIOD is set. PR: 122406 MFC after: 1 month Notes: svn path=/head/; revision=183002
* o Correct a comment: a test file size is a four pages not three.Maxim Konovalov2008-09-101-1/+1
| | | | Notes: svn path=/head/; revision=182903
* Change space -> tab in printed usage output to make it look consistent.Simon L. B. Nielsen2008-09-071-1/+1
| | | | Notes: svn path=/head/; revision=182845
* Regression tests for bugs in gdtoa.David Schultz2008-09-031-11/+17
| | | | Notes: svn path=/head/; revision=182711
* Fix typo in comment.Thomas Quinot2008-09-021-1/+1
| | | | Notes: svn path=/head/; revision=182690
* Add simple cd to dvd conversion script.Roman Kurakin2008-08-311-0/+267
| | | | Notes: svn path=/head/; revision=182578
* Update README to reflect removal of netatm/harp test parts some time ago.Robert Watson2008-08-311-5/+2
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=182531
* Connect a forgotten test case to Makefile.Jung-uk Kim2008-08-291-1/+1
| | | | Notes: svn path=/head/; revision=182464
* Do not pass validatation level since all issues are fixed now.Jung-uk Kim2008-08-291-1/+1
| | | | Notes: svn path=/head/; revision=182459