Import pjdfstest from ^/vendor/pjdfstest/abf03c3a47745d4521b0e4aa141317553ca48f91
- Remove tools/regression/pjdfstest - Add upgrade directions for contrib/pjdfstest - Add a note to UPDATING for the move (the reachover Makefiles are coming soon) Functional differences: - ftruncate testcases are added from upstream (github) Non-functional differences: - The copyright for the project has been updated to 2012 - pjd's contact information has been updated Discussed with: -testing, jmmv, pjd MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
commit
40a8ac8f62
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=272057
4
UPDATING
4
UPDATING
@ -31,6 +31,10 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 11.x IS SLOW:
|
||||
disable the most expensive debugging functionality run
|
||||
"ln -s 'abort:false,junk:false' /etc/malloc.conf".)
|
||||
|
||||
20140923:
|
||||
pjdfstest has been moved from tools/regression/pjdfstest to
|
||||
contrib/pjdfstest .
|
||||
|
||||
20140922:
|
||||
At svn r271982, The default linux compat kernel ABI has been adjusted
|
||||
to 2.6.18 in support of the linux-c6 compat ports infrastructure
|
||||
|
25
contrib/pjdfstest/FREEBSD-upgrade
Normal file
25
contrib/pjdfstest/FREEBSD-upgrade
Normal file
@ -0,0 +1,25 @@
|
||||
$FreeBSD$
|
||||
|
||||
This document contains a collection of notes specific to the import
|
||||
of pjdfstest into head. These notes are built on the instructions in
|
||||
the FreeBSD Subversion Primer that detail how to deal with vendor
|
||||
branches and you are supposed to follow those:
|
||||
|
||||
http://www.freebsd.org/doc/en/articles/committers-guide/subversion-primer.html
|
||||
|
||||
The pjdfstest source code is hosted on GitHub:
|
||||
|
||||
https://github.com/pjd/pjdfstest
|
||||
|
||||
and is imported into the pjdfstest vendor branch (see base/vendor/pjdfstest/).
|
||||
|
||||
To merge the vendor branch into head do something like this:
|
||||
|
||||
cd .../base/head/contrib/pjdfstest
|
||||
svn merge --accept=postpone \
|
||||
svn+ssh://svn.freebsd.org/base/vendor/pjdfstest/dist .
|
||||
|
||||
and resolve any conflicts that may arise at this point.
|
||||
|
||||
Lastly, with the list of old and new files in this import, make sure
|
||||
to update the reachover Makefiles accordingly.
|
@ -1,8 +1,8 @@
|
||||
$FreeBSD$
|
||||
$FreeBSD: head/tools/regression/pjdfstest/LICENSE 211354 2010-08-15 21:29:03Z pjd $
|
||||
|
||||
License for all regression tests available with pjdfstest:
|
||||
|
||||
Copyright (c) 2006-2010 Pawel Jakub Dawidek <pjd@FreeBSD.org>
|
||||
Copyright (c) 2006-2012 Pawel Jakub Dawidek <pawel@dawidek.net>
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
@ -18,7 +18,7 @@ ${PROG}: ${PROG}.c
|
||||
echo "Unsupported operating system: ${OSTYPE}."; \
|
||||
exit 1; \
|
||||
fi; \
|
||||
cmd="cc -Wall $$CFLAGS ${PROG}.c -o ${PROG}"; \
|
||||
cmd="gcc -Wall $$CFLAGS ${PROG}.c -o ${PROG}"; \
|
||||
echo $$cmd; \
|
||||
$$cmd
|
||||
|
@ -1,4 +1,4 @@
|
||||
$FreeBSD$
|
||||
$FreeBSD: head/tools/regression/pjdfstest/README 211354 2010-08-15 21:29:03Z pjd $
|
||||
|
||||
Few notes on how to use pjdfstest in short steps:
|
||||
|
||||
@ -19,4 +19,4 @@ Currently supported operating systems: FreeBSD, Solaris.
|
||||
Currently supported file system types: UFS, ZFS.
|
||||
|
||||
--
|
||||
Pawel Jakub Dawidek <pjd@FreeBSD.org>
|
||||
Pawel Jakub Dawidek <pawel@dawidek.net>
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/chflags/00.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="chflags changes flags"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/chflags/01.t 211474 2010-08-18 22:06:43Z pjd $
|
||||
|
||||
desc="chflags returns ENOTDIR if a component of the path prefix is not a directory"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/chflags/02.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="chflags returns ENAMETOOLONG if a component of a pathname exceeded {NAME_MAX} characters"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/chflags/03.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="chflags returns ENAMETOOLONG if an entire path name exceeded {PATH_MAX} characters"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/chflags/04.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="chflags returns ENOENT if the named file does not exist"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/chflags/05.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="chflags returns EACCES when search permission is denied for a component of the path prefix"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/chflags/06.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="chflags returns ELOOP if too many symbolic links were encountered in translating the pathname"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/chflags/07.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="chflags returns EPERM when the effective user ID does not match the owner of the file and the effective user ID is not the super-user"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/chflags/08.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="chflags returns EPERM when one of SF_IMMUTABLE, SF_APPEND, or SF_NOUNLINK is set and the user is not the super-user"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/chflags/09.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="chflags returns EPERM when one of SF_IMMUTABLE, SF_APPEND, or SF_NOUNLINK is set and securelevel is greater than 0"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/chflags/10.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="chflags returns EPERM if non-super-user tries to set one of SF_IMMUTABLE, SF_APPEND, or SF_NOUNLINK"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/chflags/11.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="chflags returns EPERM if a user tries to set or remove the SF_SNAPSHOT flag"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/chflags/12.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="chflags returns EROFS if the named file resides on a read-only file system"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/chflags/13.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="chflags returns EFAULT if the path argument points outside the process's allocated address space"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/chmod/00.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="chmod changes permission"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/chmod/01.t 211474 2010-08-18 22:06:43Z pjd $
|
||||
|
||||
desc="chmod returns ENOTDIR if a component of the path prefix is not a directory"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/chmod/02.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="chmod returns ENAMETOOLONG if a component of a pathname exceeded {NAME_MAX} characters"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/chmod/03.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="chmod returns ENAMETOOLONG if an entire path name exceeded {PATH_MAX} characters"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/chmod/04.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="chmod returns ENOENT if the named file does not exist"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/chmod/05.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="chmod returns EACCES when search permission is denied for a component of the path prefix"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/chmod/06.t 211474 2010-08-18 22:06:43Z pjd $
|
||||
|
||||
desc="chmod returns ELOOP if too many symbolic links were encountered in translating the pathname"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/chmod/07.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="chmod returns EPERM if the operation would change the ownership, but the effective user ID is not the super-user"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/chmod/08.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="chmod returns EPERM if the named file has its immutable or append-only flag set"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/chmod/09.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="chmod returns EROFS if the named file resides on a read-only file system"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/chmod/10.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="chmod returns EFAULT if the path argument points outside the process's allocated address space"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/chmod/11.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="chmod returns EFTYPE if the effective user ID is not the super-user, the mode includes the sticky bit (S_ISVTX), and path does not refer to a directory"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/chmod/12.t 219463 2011-03-10 20:59:02Z pjd $
|
||||
|
||||
desc="verify SUID/SGID bit behaviour"
|
||||
|
0
contrib/pjdfstest/tests/chmod/foo
Executable file
0
contrib/pjdfstest/tests/chmod/foo
Executable file
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/chown/00.t 228975 2011-12-30 00:04:11Z uqs $
|
||||
|
||||
desc="chown changes ownership"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/chown/01.t 211474 2010-08-18 22:06:43Z pjd $
|
||||
|
||||
desc="chown returns ENOTDIR if a component of the path prefix is not a directory"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/chown/02.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="chown returns ENAMETOOLONG if a component of a pathname exceeded ${NAME_MAX} characters"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/chown/03.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="chown returns ENAMETOOLONG if an entire path name exceeded {PATH_MAX} characters"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/chown/04.t 211410 2010-08-17 06:08:09Z pjd $
|
||||
|
||||
desc="chown returns ENOENT if the named file does not exist"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/chown/05.t 211410 2010-08-17 06:08:09Z pjd $
|
||||
|
||||
desc="chown returns EACCES when search permission is denied for a component of the path prefix"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/chown/06.t 211410 2010-08-17 06:08:09Z pjd $
|
||||
|
||||
desc="chown returns ELOOP if too many symbolic links were encountered in translating the pathname"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/chown/07.t 211410 2010-08-17 06:08:09Z pjd $
|
||||
|
||||
desc="chown returns EPERM if the operation would change the ownership, but the effective user ID is not the super-user and the process is not an owner of the file"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/chown/08.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="chown returns EPERM if the named file has its immutable or append-only flag set"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/chown/09.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="chown returns EROFS if the named file resides on a read-only file system"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/chown/10.t 211410 2010-08-17 06:08:09Z pjd $
|
||||
|
||||
desc="chown returns EFAULT if the path argument points outside the process's allocated address space"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/conf 211354 2010-08-15 21:29:03Z pjd $
|
||||
# pjdfstest configuration file
|
||||
|
||||
# Supported operating systems: FreeBSD, Darwin, SunOS, Linux
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/ftruncate/00.t 219439 2011-03-09 23:11:30Z pjd $
|
||||
|
||||
desc="ftruncate descrease/increase file size"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/truncate/01.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="truncate returns ENOTDIR if a component of the path prefix is not a directory"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/truncate/02.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="truncate returns ENAMETOOLONG if a component of a pathname exceeded {NAME_MAX} characters"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/truncate/03.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="truncate returns ENAMETOOLONG if an entire path name exceeded {PATH_MAX} characters"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/truncate/04.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="truncate returns ENOENT if the named file does not exist"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/truncate/05.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="truncate returns EACCES when search permission is denied for a component of the path prefix"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/truncate/06.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="truncate returns EACCES if the named file is not writable by the user"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/truncate/07.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="truncate returns ELOOP if too many symbolic links were encountered in translating the pathname"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/truncate/08.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="truncate returns EPERM if the named file has its immutable or append-only flag set"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/truncate/09.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="truncate returns EISDIR if the named file is a directory"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/truncate/10.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="truncate returns EROFS if the named file resides on a read-only file system"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/truncate/11.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="truncate returns ETXTBSY the file is a pure procedure (shared text) file that is being executed"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/truncate/12.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="truncate returns EFBIG or EINVAL if the length argument was greater than the maximum file size"
|
||||
|
16
contrib/pjdfstest/tests/ftruncate/13.t
Normal file
16
contrib/pjdfstest/tests/ftruncate/13.t
Normal file
@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/truncate/13.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="ftruncate returns EINVAL if the length argument was less than 0"
|
||||
|
||||
dir=`dirname $0`
|
||||
. ${dir}/../misc.sh
|
||||
|
||||
echo "1..4"
|
||||
|
||||
n0=`namegen`
|
||||
|
||||
expect 0 create ${n0} 0644
|
||||
expect EINVAL -- open ${n0} O_RDWR : ftruncate 0 -1
|
||||
expect EINVAL -- open ${n0} O_WRONLY : ftruncate 0 -999999
|
||||
expect 0 unlink ${n0}
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/truncate/14.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="truncate returns EFAULT if the path argument points outside the process's allocated address space"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/granular/00.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="NFSv4 granular permissions checking - WRITE_DATA vs APPEND_DATA on directories"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/granular/01.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="NFSv4 granular permissions checking - ACL_READ_ATTRIBUTES and ACL_WRITE_ATTRIBUTES"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/granular/02.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="NFSv4 granular permissions checking - ACL_READ_ACL and ACL_WRITE_ACL"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/granular/03.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="NFSv4 granular permissions checking - DELETE and DELETE_CHILD"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/granular/04.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="NFSv4 granular permissions checking - ACL_WRITE_OWNER"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/granular/05.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="NFSv4 granular permissions checking - DELETE and DELETE_CHILD with directories"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/link/00.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="link creates hardlinks"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/link/01.t 211474 2010-08-18 22:06:43Z pjd $
|
||||
|
||||
desc="link returns ENOTDIR if a component of either path prefix is not a directory"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/link/02.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="link returns ENAMETOOLONG if a component of either pathname exceeded {NAME_MAX} characters"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/link/03.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="link returns ENAMETOOLONG if an entire length of either path name exceeded {PATH_MAX} characters"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/link/04.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="link returns ENOENT if a component of either path prefix does not exist"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/link/05.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="link returns EMLINK if the link count of the file named by name1 would exceed 32767"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/link/06.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="link returns EACCES when a component of either path prefix denies search permission"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/link/07.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="link returns EACCES when the requested link requires writing in a directory with a mode that denies write permission"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/link/08.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="link returns ELOOP if too many symbolic links were encountered in translating one of the pathnames"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/link/09.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="link returns ENOENT if the source file does not exist"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/link/10.t 211474 2010-08-18 22:06:43Z pjd $
|
||||
|
||||
desc="link returns EEXIST if the destination file does exist"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/link/11.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="link returns EPERM if the source file is a directory"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/link/12.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="link returns EPERM if the source file has its immutable or append-only flag set"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/link/13.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="link returns EPERM if the parent directory of the destination file has its immutable flag set"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/link/14.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="link returns EXDEV if the source and the destination files are on different file systems"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/link/15.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="link returns ENOSPC if the directory in which the entry for the new link is being placed cannot be extended because there is no space left on the file system containing the directory"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/link/16.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="link returns EROFS if the requested link requires writing in a directory on a read-only file system"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/link/17.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="link returns EFAULT if one of the pathnames specified is outside the process's allocated address space"
|
||||
|
0
tools/regression/pjdfstest/tests/misc.sh → contrib/pjdfstest/tests/misc.sh
Normal file → Executable file
0
tools/regression/pjdfstest/tests/misc.sh → contrib/pjdfstest/tests/misc.sh
Normal file → Executable file
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/mkdir/00.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="mkdir creates directories"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/mkdir/01.t 211474 2010-08-18 22:06:43Z pjd $
|
||||
|
||||
desc="mkdir returns ENOTDIR if a component of the path prefix is not a directory"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/mkdir/02.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="mkdir returns ENAMETOOLONG if a component of a pathname exceeded {NAME_MAX} characters"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/mkdir/03.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="mkdir returns ENAMETOOLONG if an entire path name exceeded {PATH_MAX} characters"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/mkdir/04.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="mkdir returns ENOENT if a component of the path prefix does not exist"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/mkdir/05.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="mkdir returns EACCES when search permission is denied for a component of the path prefix"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/mkdir/06.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="mkdir returns EACCES when write permission is denied on the parent directory of the directory to be created"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/mkdir/07.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="mkdir returns ELOOP if too many symbolic links were encountered in translating the pathname"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/mkdir/08.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="mkdir returns EPERM if the parent directory of the directory to be created has its immutable flag set"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/mkdir/09.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="mkdir returns EROFS if the named file resides on a read-only file system"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/mkdir/10.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="mkdir returns EEXIST if the named file exists"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/mkdir/11.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="mkdir returns ENOSPC if there are no free inodes on the file system on which the directory is being created"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/mkdir/12.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="mkdir returns EFAULT if the path argument points outside the process's allocated address space"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: head/tools/regression/pjdfstest/tests/mkfifo/00.t 211352 2010-08-15 21:24:17Z pjd $
|
||||
|
||||
desc="mkfifo creates fifo files"
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user