Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
This test is aimed at stressing the fcntl locking functions.
A master process sets a lock on a file region (byte range locking).
Several slave processes try to perform operations on this region,
such as: read, write, set a new lock ... The expected results of
these operations are known. If the operation's result is the same
as the expected one, the test succeeds, otherwise it fails.
Locktests stress POSIX locks.
+17
View File
@@ -0,0 +1,17 @@
===========================================================================
$NetBSD: MESSAGE,v 1.1.1.1 2011/05/03 12:32:40 manu Exp $
See http://nfsv4.bullopensource.org/tools/tests/locktest.php for usage.
For local filesystems:
locktests -n <number of concurent process> -f <test file>
-n <num> :
Number of processes to use (mandatory)
-f <file> :
Run the test on a test file defined by the -f option (mandatory)
Example : locktests -n 50 -f /file/system/to/test
===========================================================================
+21
View File
@@ -0,0 +1,21 @@
# $NetBSD: Makefile,v 1.2 2012/10/31 11:17:25 asau Exp $
#
DISTNAME= locktests
PKGNAME= ${DISTNAME}-20110428
CATEGORIES= devel filesystems
MASTER_SITES= http://nfsv4.bullopensource.org/tools/tests_tools/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://nfsv4.bullopensource.org/tools/tests_tools/
COMMENT= POSIX locks stress-test
LICENSE= gnu-gpl-v3 # According to web site
WRKSRC= ${WRKDIR}/locks
BUILD_TARGET= All
do-install:
${INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/locktests ${DESTDIR}${PREFIX}/bin/locktests
.include "../../mk/bsd.pkg.mk"
+2
View File
@@ -0,0 +1,2 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2011/05/03 12:32:40 manu Exp $
bin/locktests
+5
View File
@@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2011/05/03 12:32:40 manu Exp $
SHA1 (locktests.tar.gz) = cd37b73b38e1fa626871ca8c45487648885b8d9f
RMD160 (locktests.tar.gz) = bc6121d3ae1c94b888fc825d8a5c99fc2e3f8e41
Size (locktests.tar.gz) = 12354 bytes