CVS commit: src/tests/kernel

2016-11-04 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Nov 4 09:08:12 UTC 2016 Modified Files: src/tests/kernel: t_ptrace.c Log Message: The problem with WIFCONTINUED() and WIFSTOPPED() in traceme4 is resolved Fixed by Christos Zoulas in: cvs rdiff -u -r1.260 -r1.261

CVS commit: src/tests/kernel

2016-11-03 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Nov 3 20:24:18 UTC 2016 Modified Files: src/tests/kernel: t_ptrace.c Log Message: Add FORKEE_ASSERTX()/FORKEE_ASSERT() for forkee; simplify code A child process cannot call atf functions and expect them to magically work

CVS commit: src/tests/kernel

2016-11-03 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Nov 3 20:24:18 UTC 2016 Modified Files: src/tests/kernel: t_ptrace.c Log Message: Add FORKEE_ASSERTX()/FORKEE_ASSERT() for forkee; simplify code A child process cannot call atf functions and expect them to magically work

CVS commit: src/tests/kernel

2016-11-03 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Nov 3 18:54:16 UTC 2016 Modified Files: src/tests/kernel: t_ptrace.c Log Message: Simplify code, prefer strerror(3) over sys_errlist(3) No functional change intended. strerror(3) change requested by . Sponsored by . To

CVS commit: src/tests/kernel

2016-11-03 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Nov 3 18:54:16 UTC 2016 Modified Files: src/tests/kernel: t_ptrace.c Log Message: Simplify code, prefer strerror(3) over sys_errlist(3) No functional change intended. strerror(3) change requested by . Sponsored by . To

CVS commit: src/tests/kernel

2016-11-03 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Nov 3 18:25:54 UTC 2016 Modified Files: src/tests/kernel: t_ptrace.c Log Message: Mark ptraceme4 as expected failure, assume that Linux are correct Raising SIGCONT from a ptrace(2)d child should be catched with waidpid(2) as

CVS commit: src/tests/kernel

2016-11-03 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Nov 3 18:25:54 UTC 2016 Modified Files: src/tests/kernel: t_ptrace.c Log Message: Mark ptraceme4 as expected failure, assume that Linux are correct Raising SIGCONT from a ptrace(2)d child should be catched with waidpid(2) as

Re: CVS commit: src/tests/kernel

2016-11-03 Thread Kamil Rytarowski
On 03.11.2016 15:24, Christos Zoulas wrote: > In article <19801.1478175...@andromeda.noi.kre.to>, > Robert Elz wrote: >> >> Which is actually correct? (That is, which makes more sense, if it is >> not actually specified somewhere.) >> >> Please make the tests test correct

Re: CVS commit: src/tests/kernel

2016-11-03 Thread Christos Zoulas
In article <19801.1478175...@andromeda.noi.kre.to>, Robert Elz wrote: > >Which is actually correct? (That is, which makes more sense, if it is >not actually specified somewhere.) > >Please make the tests test correct behaviour, not just what NetBSD happens >to do today.

Re: CVS commit: src/tests/kernel

2016-11-03 Thread Robert Elz
Date:Thu, 3 Nov 2016 11:20:45 + From:"Kamil Rytarowski" Message-ID: <20161103112045.a48aaf...@cvs.netbsd.org> | This test verifies calling raise(2) with the SIGCONT argument in the child. | The parent is notified with it and asserts that

CVS commit: src/tests/kernel

2016-11-03 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Nov 3 11:20:45 UTC 2016 Modified Files: src/tests/kernel: t_ptrace.c Log Message: Add new test traceme4 in t_ptrace This test verifies calling raise(2) with the SIGCONT argument in the child. The parent is notified with it

CVS commit: src/tests/kernel

2016-11-03 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Nov 3 11:20:45 UTC 2016 Modified Files: src/tests/kernel: t_ptrace.c Log Message: Add new test traceme4 in t_ptrace This test verifies calling raise(2) with the SIGCONT argument in the child. The parent is notified with it

CVS commit: src/tests/kernel

2016-11-03 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Nov 3 08:48:54 UTC 2016 Modified Files: src/tests/kernel: t_ptrace.c Log Message: Add new test traceme3 in t_ptrace This test is modeled after traceme1 and traceme2 with the goal to test if the child was terminated with a

CVS commit: src/tests/kernel

2016-11-03 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Nov 3 08:48:54 UTC 2016 Modified Files: src/tests/kernel: t_ptrace.c Log Message: Add new test traceme3 in t_ptrace This test is modeled after traceme1 and traceme2 with the goal to test if the child was terminated with a

CVS commit: src/tests/kernel

2016-11-02 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Nov 2 22:18:04 UTC 2016 Modified Files: src/tests/kernel: t_ptrace.c Log Message: Add new test-case "traceme2" in t_ptrace This test is a clone of traceme2 with ptrace(2) calling PT_CONTINUE with signal to be passed to the

CVS commit: src/tests/kernel

2016-11-02 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Nov 2 22:18:04 UTC 2016 Modified Files: src/tests/kernel: t_ptrace.c Log Message: Add new test-case "traceme2" in t_ptrace This test is a clone of traceme2 with ptrace(2) calling PT_CONTINUE with signal to be passed to the

CVS commit: src/tests/kernel

2016-05-21 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun May 22 04:34:44 UTC 2016 Modified Files: src/tests/kernel: t_rnd.c Log Message: Test for PR kern/51135 is no longer failing. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/tests/kernel/t_rnd.c Please

CVS commit: src/tests/kernel

2016-05-21 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun May 22 04:34:44 UTC 2016 Modified Files: src/tests/kernel: t_rnd.c Log Message: Test for PR kern/51135 is no longer failing. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/tests/kernel/t_rnd.c Please

CVS commit: src/tests/kernel

2016-05-13 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Fri May 13 13:22:29 UTC 2016 Modified Files: src/tests/kernel: t_rnd.c Log Message: mark read_random xfail kern/51135 To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/tests/kernel/t_rnd.c Please note that diffs

CVS commit: src/tests/kernel

2016-05-13 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Fri May 13 13:22:29 UTC 2016 Modified Files: src/tests/kernel: t_rnd.c Log Message: mark read_random xfail kern/51135 To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/tests/kernel/t_rnd.c Please note that diffs

CVS commit: src/tests/kernel

2016-05-12 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu May 12 11:41:43 UTC 2016 Modified Files: src/tests/kernel: t_rnd.c Log Message: Test that reading /dev/random returns within a reasonable time. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

CVS commit: src/tests/kernel

2016-05-12 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu May 12 11:41:43 UTC 2016 Modified Files: src/tests/kernel: t_rnd.c Log Message: Test that reading /dev/random returns within a reasonable time. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

CVS commit: src/tests/kernel/kqueue

2016-04-29 Thread Ryo ONODERA
Module Name:src Committed By: ryoon Date: Fri Apr 29 07:12:34 UTC 2016 Modified Files: src/tests/kernel/kqueue: Makefile Log Message: Tab alignment To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/tests/kernel/kqueue/Makefile Please note that diffs are

CVS commit: src/tests/kernel/kqueue

2016-04-29 Thread Ryo ONODERA
Module Name:src Committed By: ryoon Date: Fri Apr 29 07:12:34 UTC 2016 Modified Files: src/tests/kernel/kqueue: Makefile Log Message: Tab alignment To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/tests/kernel/kqueue/Makefile Please note that diffs are

CVS commit: src/tests/kernel

2016-02-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Feb 15 14:59:38 UTC 2016 Modified Files: src/tests/kernel: Makefile Log Message: This needs _KERNTYPES on some platforms. To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/tests/kernel/Makefile Please

CVS commit: src/tests/kernel

2016-02-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Feb 15 14:59:38 UTC 2016 Modified Files: src/tests/kernel: Makefile Log Message: This needs _KERNTYPES on some platforms. To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/tests/kernel/Makefile Please

CVS commit: src/tests/kernel

2015-04-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Apr 13 22:24:34 UTC 2015 Modified Files: src/tests/kernel: t_rnd.c Log Message: Use sys/rndio.h for rnd ioctls. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/tests/kernel/t_rnd.c Please note that diffs

CVS commit: src/tests/kernel

2015-04-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Apr 13 22:24:34 UTC 2015 Modified Files: src/tests/kernel: t_rnd.c Log Message: Use sys/rndio.h for rnd ioctls. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/tests/kernel/t_rnd.c Please note that diffs

CVS commit: src/tests/kernel/kqueue

2015-01-14 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Jan 14 22:22:14 UTC 2015 Added Files: src/tests/kernel/kqueue: t_vnode.c Log Message: PR/48958: rudolf: EVFILT_VNODE filter miscounting hardlinks (add test) To generate a diff of this commit: cvs rdiff -u -r0 -r1.1

CVS commit: src/tests/kernel/kqueue

2015-01-14 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Jan 14 22:22:14 UTC 2015 Added Files: src/tests/kernel/kqueue: t_vnode.c Log Message: PR/48958: rudolf: EVFILT_VNODE filter miscounting hardlinks (add test) To generate a diff of this commit: cvs rdiff -u -r0 -r1.1

CVS commit: src/tests/kernel/kqueue

2015-01-14 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Jan 14 22:22:32 UTC 2015 Modified Files: src/tests/kernel/kqueue: Makefile t_ioctl.c t_proc1.c t_proc2.c t_proc3.c Log Message: bump warns. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

CVS commit: src/tests/kernel/kqueue

2015-01-14 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Jan 14 22:22:32 UTC 2015 Modified Files: src/tests/kernel/kqueue: Makefile t_ioctl.c t_proc1.c t_proc2.c t_proc3.c Log Message: bump warns. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

CVS commit: src/tests/kernel

2014-04-28 Thread Martin Husemann
Module Name:src Committed By: martin Date: Mon Apr 28 08:34:16 UTC 2014 Modified Files: src/tests/kernel: t_kauth_pr_47598.c Log Message: Skip the curtain test case if curtain is not enabled and we would not be able to restore it to its old value later due to running at

CVS commit: src/tests/kernel

2014-04-28 Thread Martin Husemann
Module Name:src Committed By: martin Date: Mon Apr 28 08:34:16 UTC 2014 Modified Files: src/tests/kernel: t_kauth_pr_47598.c Log Message: Skip the curtain test case if curtain is not enabled and we would not be able to restore it to its old value later due to running at

CVS commit: src/tests/kernel

2014-03-02 Thread Julio Merino
Module Name:src Committed By: jmmv Date: Sun Mar 2 20:13:12 UTC 2014 Modified Files: src/tests/kernel: t_sysv.c Log Message: Make cleanup routines actually work. The only way to pass global state from the body to the cleanup is via the file system. Fixes leaks of

CVS commit: src/tests/kernel

2014-03-02 Thread Julio Merino
Module Name:src Committed By: jmmv Date: Sun Mar 2 19:56:48 UTC 2014 Modified Files: src/tests/kernel: t_mqueue.c Log Message: Remove unnecessary and broken cleanup routine. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/tests/kernel/t_mqueue.c Please

CVS commit: src/tests/kernel

2014-03-02 Thread Julio Merino
Module Name:src Committed By: jmmv Date: Sun Mar 2 20:13:12 UTC 2014 Modified Files: src/tests/kernel: t_sysv.c Log Message: Make cleanup routines actually work. The only way to pass global state from the body to the cleanup is via the file system. Fixes leaks of

CVS commit: src/tests/kernel

2013-05-31 Thread Andreas Gustafsson
Module Name:src Committed By: gson Date: Fri May 31 14:40:48 UTC 2013 Modified Files: src/tests/kernel: t_umountstress.sh Log Message: Don't rely on kill -0 to check whether a background shell command has exited; it does not work reliably because the process may still

CVS commit: src/tests/kernel

2013-05-31 Thread Andreas Gustafsson
Module Name:src Committed By: gson Date: Fri May 31 14:40:48 UTC 2013 Modified Files: src/tests/kernel: t_umountstress.sh Log Message: Don't rely on kill -0 to check whether a background shell command has exited; it does not work reliably because the process may still

CVS commit: src/tests/kernel

2013-04-28 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Apr 28 15:49:58 UTC 2013 Modified Files: src/tests/kernel: t_umountstress.sh Log Message: shorten fileops test further add new test that verifies locking of the mount list. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/tests/kernel

2013-04-28 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Apr 28 15:49:58 UTC 2013 Modified Files: src/tests/kernel: t_umountstress.sh Log Message: shorten fileops test further add new test that verifies locking of the mount list. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/tests/kernel

2013-04-27 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Apr 27 07:45:08 UTC 2013 Modified Files: src/tests/kernel: t_umountstress.sh Log Message: shorten test to not time out on our test infrastructure. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/tests/kernel

2013-04-27 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Apr 27 07:45:08 UTC 2013 Modified Files: src/tests/kernel: t_umountstress.sh Log Message: shorten test to not time out on our test infrastructure. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/tests/kernel

2013-04-20 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Apr 20 09:00:03 UTC 2013 Modified Files: src/tests/kernel: t_umountstress.sh Log Message: Now use correct test files and pass child failures to test function. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/tests/kernel

2013-04-16 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue Apr 16 22:05:45 UTC 2013 Modified Files: src/tests/kernel: Makefile Added Files: src/tests/kernel: t_umountstress.sh Log Message: First attempt at stress testing umount of a busy disk. To generate a diff of this

CVS commit: src/tests/kernel

2013-04-16 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue Apr 16 22:05:45 UTC 2013 Modified Files: src/tests/kernel: Makefile Added Files: src/tests/kernel: t_umountstress.sh Log Message: First attempt at stress testing umount of a busy disk. To generate a diff of this

CVS commit: src/tests/kernel

2013-02-28 Thread Martin Husemann
Module Name:src Committed By: martin Date: Thu Feb 28 15:31:23 UTC 2013 Modified Files: src/tests/kernel: Makefile Added Files: src/tests/kernel: t_kauth_pr_47598.c Log Message: Add a testprogram for PR 47598. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/tests/kernel

2013-02-28 Thread Martin Husemann
Module Name:src Committed By: martin Date: Thu Feb 28 20:41:22 UTC 2013 Modified Files: src/tests/kernel: t_kauth_pr_47598.c Log Message: getsockname() needs a socklen_t, not a size_t To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/tests/kernel

2013-02-28 Thread Martin Husemann
Module Name:src Committed By: martin Date: Thu Feb 28 15:31:23 UTC 2013 Modified Files: src/tests/kernel: Makefile Added Files: src/tests/kernel: t_kauth_pr_47598.c Log Message: Add a testprogram for PR 47598. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/tests/kernel

2013-02-28 Thread Martin Husemann
Module Name:src Committed By: martin Date: Thu Feb 28 20:41:22 UTC 2013 Modified Files: src/tests/kernel: t_kauth_pr_47598.c Log Message: getsockname() needs a socklen_t, not a size_t To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

Re: CVS commit: src/tests/kernel

2013-02-19 Thread Joerg Sonnenberger
On Mon, Feb 18, 2013 at 07:24:39PM -0800, Paul Goyette wrote: On Tue, 19 Feb 2013, Joerg Sonnenberger wrote: Wait a little bit after fork()ing the lockers to give them a chance to get started before trying to ptrace(ATTACH). What about using a pipe to make this an explicit barrier?

Re: CVS commit: src/tests/kernel

2013-02-19 Thread Paul Goyette
Most of the printf's were already there before this round of updates, and there's enough differentiation in them to figure out which process is responsible. In any case, the printf's aren't critical to the test (until you need to debug it!). So for now, I'd rather just leave them all alone.

Re: CVS commit: src/tests/kernel

2013-02-19 Thread Joerg Sonnenberger
On Tue, Feb 19, 2013 at 11:40:22AM -0800, Paul Goyette wrote: Most of the printf's were already there before this round of updates, and there's enough differentiation in them to figure out which process is responsible. In any case, the printf's aren't critical to the test (until you need to

Re: CVS commit: src/tests/kernel

2013-02-19 Thread Julio Merino
On Tue, Feb 19, 2013 at 2:43 PM, Joerg Sonnenberger jo...@britannica.bec.de wrote: On Tue, Feb 19, 2013 at 11:40:22AM -0800, Paul Goyette wrote: Most of the printf's were already there before this round of updates, and there's enough differentiation in them to figure out which process is

Re: CVS commit: src/tests/kernel

2013-02-19 Thread Joerg Sonnenberger
On Tue, Feb 19, 2013 at 02:45:43PM -0500, Julio Merino wrote: On Tue, Feb 19, 2013 at 2:43 PM, Joerg Sonnenberger jo...@britannica.bec.de wrote: On Tue, Feb 19, 2013 at 11:40:22AM -0800, Paul Goyette wrote: Most of the printf's were already there before this round of updates, and there's

Re: CVS commit: src/tests/kernel

2013-02-19 Thread Christos Zoulas
In article 20130219224428.5dd5717...@cvs.netbsd.org, Paul Goyette source-changes-d@NetBSD.org wrote: -=-=-=-=-=- + const char *pipe_errmsg = child: pipe write failed\n; (void)unlink(lockfile); @@ -145,8 +146,8 @@ ATF_TC_BODY(randlock, tc) switch (pid[i]) {

CVS commit: src/tests/kernel

2013-02-19 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Tue Feb 19 22:44:28 UTC 2013 Modified Files: src/tests/kernel: t_lockf.c Log Message: Replace printf() in child process with a simple write(STDERR_FILNO,...) Thanks, Joerg. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/tests/kernel

2013-02-19 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed Feb 20 02:22:48 UTC 2013 Modified Files: src/tests/kernel: t_lockf.c Log Message: Fix the error message handling. Thanks to Christos for noticing. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8

CVS commit: src/tests/kernel

2013-02-19 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Tue Feb 19 22:44:28 UTC 2013 Modified Files: src/tests/kernel: t_lockf.c Log Message: Replace printf() in child process with a simple write(STDERR_FILNO,...) Thanks, Joerg. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/tests/kernel

2013-02-19 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed Feb 20 02:22:48 UTC 2013 Modified Files: src/tests/kernel: t_lockf.c Log Message: Fix the error message handling. Thanks to Christos for noticing. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8

Re: CVS commit: src/tests/kernel

2013-02-18 Thread Joerg Sonnenberger
On Tue, Feb 19, 2013 at 12:54:48AM +, Paul Goyette wrote: Module Name: src Committed By: pgoyette Date: Tue Feb 19 00:54:48 UTC 2013 Modified Files: src/tests/kernel: t_lockf.c Log Message: Wait a little bit after fork()ing the lockers to give them a chance to get

Re: CVS commit: src/tests/kernel

2013-02-18 Thread Paul Goyette
On Tue, 19 Feb 2013, Joerg Sonnenberger wrote: Wait a little bit after fork()ing the lockers to give them a chance to get started before trying to ptrace(ATTACH). What about using a pipe to make this an explicit barrier? You mean something like this?:) Index: t_lockf.c

CVS commit: src/tests/kernel

2013-02-18 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Mon Feb 18 20:59:19 UTC 2013 Modified Files: src/tests/kernel: t_lockf.c Log Message: Check that we did get EDEADLK error, and fail immediately if we did not. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/tests/kernel

2013-02-18 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Tue Feb 19 00:54:48 UTC 2013 Modified Files: src/tests/kernel: t_lockf.c Log Message: Wait a little bit after fork()ing the lockers to give them a chance to get started before trying to ptrace(ATTACH). Otherwise, the traced

CVS commit: src/tests/kernel

2013-02-18 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Tue Feb 19 03:22:54 UTC 2013 Modified Files: src/tests/kernel: t_lockf.c Log Message: Create a variable for max number of passes to make. While we're here, reduce the pass-count from 100 to 50; this is more than enough to

CVS commit: src/tests/kernel

2013-02-18 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Tue Feb 19 04:46:46 UTC 2013 Modified Files: src/tests/kernel: t_lockf.c Log Message: White-space in for(...) loops. Use #define instead of static variables to define test parameters. No functional change. To generate a diff

CVS commit: src/tests/kernel

2013-02-18 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Tue Feb 19 04:58:40 UTC 2013 Modified Files: src/tests/kernel: t_lockf.c Log Message: Rather than just sleeping and hoping that all the sub-processes are ready to be ptrace()d, use a positive barrier. To generate a diff of

CVS commit: src/tests/kernel

2013-02-18 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Mon Feb 18 20:59:19 UTC 2013 Modified Files: src/tests/kernel: t_lockf.c Log Message: Check that we did get EDEADLK error, and fail immediately if we did not. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/tests/kernel

2013-02-18 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Tue Feb 19 00:54:48 UTC 2013 Modified Files: src/tests/kernel: t_lockf.c Log Message: Wait a little bit after fork()ing the lockers to give them a chance to get started before trying to ptrace(ATTACH). Otherwise, the traced

CVS commit: src/tests/kernel

2013-02-18 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Tue Feb 19 03:22:54 UTC 2013 Modified Files: src/tests/kernel: t_lockf.c Log Message: Create a variable for max number of passes to make. While we're here, reduce the pass-count from 100 to 50; this is more than enough to

CVS commit: src/tests/kernel

2013-02-18 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Tue Feb 19 04:46:46 UTC 2013 Modified Files: src/tests/kernel: t_lockf.c Log Message: White-space in for(...) loops. Use #define instead of static variables to define test parameters. No functional change. To generate a diff

CVS commit: src/tests/kernel

2013-02-18 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Tue Feb 19 04:58:40 UTC 2013 Modified Files: src/tests/kernel: t_lockf.c Log Message: Rather than just sleeping and hoping that all the sub-processes are ready to be ptrace()d, use a positive barrier. To generate a diff of

CVS commit: src/tests/kernel

2012-11-07 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed Nov 7 14:00:38 UTC 2012 Modified Files: src/tests/kernel: Makefile Added Files: src/tests/kernel: t_lockf.c Log Message: Add ATF version of the file locking test To generate a diff of this commit: cvs rdiff -u

CVS commit: src/tests/kernel

2012-11-07 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed Nov 7 16:36:49 UTC 2012 Modified Files: src/tests/kernel: Makefile Log Message: Add missing '+' so we include t_lock as well as t_lockf and others. Should fix the build break. To generate a diff of this commit: cvs

CVS commit: src/tests/kernel

2012-11-07 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed Nov 7 14:00:38 UTC 2012 Modified Files: src/tests/kernel: Makefile Added Files: src/tests/kernel: t_lockf.c Log Message: Add ATF version of the file locking test To generate a diff of this commit: cvs rdiff -u

CVS commit: src/tests/kernel

2012-11-07 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed Nov 7 16:36:49 UTC 2012 Modified Files: src/tests/kernel: Makefile Log Message: Add missing '+' so we include t_lock as well as t_lockf and others. Should fix the build break. To generate a diff of this commit: cvs

CVS commit: src/tests/kernel

2012-11-06 Thread Alan Barrett
Module Name:src Committed By: apb Date: Tue Nov 6 13:55:04 UTC 2012 Modified Files: src/tests/kernel: t_mqueue.c Log Message: use mkdtemp() instead of mktemp(). To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/tests/kernel/t_mqueue.c Please note that

CVS commit: src/tests/kernel

2012-11-06 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Tue Nov 6 18:31:53 UTC 2012 Modified Files: src/tests/kernel: t_sysv.c Log Message: Replace the atexit() routines with ATF_TC_CLEANUP() Factor out the generation of token_keys to a separate routine, called from each test

CVS commit: src/tests/kernel

2012-11-06 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Tue Nov 6 19:35:38 UTC 2012 Modified Files: src/tests/kernel: t_mqueue.c Log Message: Use an ATF_TC_CLEANUP() routine to delete the mkdtemp() directory even if the test case fails/exits sooner. To generate a diff of this

CVS commit: src/tests/kernel

2012-11-06 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Wed Nov 7 05:13:45 UTC 2012 Modified Files: src/tests/kernel: Makefile Log Message: Fix MKRUMP=no build. librt is unrelated to rump. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/tests/kernel/Makefile

CVS commit: src/tests/kernel

2012-11-06 Thread Alan Barrett
Module Name:src Committed By: apb Date: Tue Nov 6 13:55:04 UTC 2012 Modified Files: src/tests/kernel: t_mqueue.c Log Message: use mkdtemp() instead of mktemp(). To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/tests/kernel/t_mqueue.c Please note that

CVS commit: src/tests/kernel

2012-11-06 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Tue Nov 6 18:31:53 UTC 2012 Modified Files: src/tests/kernel: t_sysv.c Log Message: Replace the atexit() routines with ATF_TC_CLEANUP() Factor out the generation of token_keys to a separate routine, called from each test

CVS commit: src/tests/kernel

2012-11-06 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Tue Nov 6 19:35:38 UTC 2012 Modified Files: src/tests/kernel: t_mqueue.c Log Message: Use an ATF_TC_CLEANUP() routine to delete the mkdtemp() directory even if the test case fails/exits sooner. To generate a diff of this

CVS commit: src/tests/kernel

2012-11-06 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Wed Nov 7 05:13:45 UTC 2012 Modified Files: src/tests/kernel: Makefile Log Message: Fix MKRUMP=no build. librt is unrelated to rump. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/tests/kernel/Makefile

CVS commit: src/tests/kernel

2012-11-04 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Mon Nov 5 04:09:14 UTC 2012 Modified Files: src/tests/kernel: Makefile Added Files: src/tests/kernel: t_sysv.c Log Message: Convert to ATF format the old src/regress/ style tests for Sys V IPC To generate a diff of

CVS commit: src/tests/kernel

2012-11-04 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Mon Nov 5 04:09:14 UTC 2012 Modified Files: src/tests/kernel: Makefile Added Files: src/tests/kernel: t_sysv.c Log Message: Convert to ATF format the old src/regress/ style tests for Sys V IPC To generate a diff of

CVS commit: src/tests/kernel

2012-11-02 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sat Nov 3 05:19:34 UTC 2012 Modified Files: src/tests/kernel: Makefile Added Files: src/tests/kernel: t_mqueue.c Log Message: Convert the old src/regress/mqueue test to ATF To generate a diff of this commit: cvs

CVS commit: src/tests/kernel

2012-11-02 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sat Nov 3 05:19:34 UTC 2012 Modified Files: src/tests/kernel: Makefile Added Files: src/tests/kernel: t_mqueue.c Log Message: Convert the old src/regress/mqueue test to ATF To generate a diff of this commit: cvs

CVS commit: src/tests/kernel

2012-10-31 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Oct 31 13:48:12 UTC 2012 Modified Files: src/tests/kernel: gen_t_subr_prf Log Message: Avoid ssp re-definitions for the functions we provide. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/tests/kernel

2012-10-31 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Oct 31 13:48:12 UTC 2012 Modified Files: src/tests/kernel: gen_t_subr_prf Log Message: Avoid ssp re-definitions for the functions we provide. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/tests/kernel

2011-11-23 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Nov 24 01:46:40 UTC 2011 Modified Files: src/tests/kernel: Makefile Added Files: src/tests/kernel: gen_t_subr_prf Log Message: Add a test for the kernel snprintf. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/tests/kernel

2011-11-23 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Nov 24 01:46:40 UTC 2011 Modified Files: src/tests/kernel: Makefile Added Files: src/tests/kernel: gen_t_subr_prf Log Message: Add a test for the kernel snprintf. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/tests/kernel

2011-09-24 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Sep 24 15:53:01 UTC 2011 Modified Files: src/tests/kernel: Makefile Added Files: src/tests/kernel: t_pty.c Log Message: Add a pty test, written by Matthew Mondor To generate a diff of this commit: cvs rdiff -u

CVS commit: src/tests/kernel

2011-09-24 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Sep 24 15:53:01 UTC 2011 Modified Files: src/tests/kernel: Makefile Added Files: src/tests/kernel: t_pty.c Log Message: Add a pty test, written by Matthew Mondor To generate a diff of this commit: cvs rdiff -u

Re: CVS commit: src/tests/kernel

2011-05-31 Thread Jukka Ruohonen
On Sat, May 28, 2011 at 04:53:21PM +0100, Julio Merino wrote: One thing is reorganizing the tests to match the tree structure, but the other is to move the tests right next to the source I don't quite understand the latter part. Why is this a bad thing? I always thought that having a single

Re: CVS commit: src/tests/kernel

2011-05-31 Thread Julio Merino
On 5/31/11 7:06 PM, Jukka Ruohonen wrote: On Sat, May 28, 2011 at 04:53:21PM +0100, Julio Merino wrote: One thing is reorganizing the tests to match the tree structure, but the other is to move the tests right next to the source I don't quite understand the latter part. Why is this a bad

Re: CVS commit: src/tests/kernel

2011-05-28 Thread Julio Merino
On 5/28/11 4:37 PM, Christos Zoulas wrote: Module Name:src Committed By: christos Date: Sat May 28 15:37:11 UTC 2011 Modified Files: src/tests/kernel: t_pollts.c Log Message: PR/44896 has been fixed. BTW: We've created a mess here again with the directory structure of

Re: CVS commit: src/tests/kernel

2011-05-28 Thread Masao Uebayashi
On Sun, May 29, 2011 at 12:53 AM, Julio Merino j...@netbsd.org wrote: On 5/28/11 4:37 PM, Christos Zoulas wrote: Module Name:    src Committed By:   christos Date:           Sat May 28 15:37:11 UTC 2011 Modified Files:        src/tests/kernel: t_pollts.c Log Message: PR/44896 has been

CVS commit: src/tests/kernel

2011-05-28 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat May 28 15:37:11 UTC 2011 Modified Files: src/tests/kernel: t_pollts.c Log Message: PR/44896 has been fixed. BTW: We've created a mess here again with the directory structure of the tests. What goes in syscalls, what goes in

CVS commit: src/tests/kernel

2011-05-28 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat May 28 15:37:11 UTC 2011 Modified Files: src/tests/kernel: t_pollts.c Log Message: PR/44896 has been fixed. BTW: We've created a mess here again with the directory structure of the tests. What goes in syscalls, what goes in

<    1   2   3   4   5   6   >