freebsd-skq/contrib/pjdfstest/tests
ngie 7888d5e754 Better handle filesystems mounted with -o noexec
ftruncate/11, open/20, and truncate/11 copy sleep(1) to a temporary file on the
target filesystem, execute the binary, then expect a result. This doesn't work
with scenarios where the target binary cannot be executed, e.g. the filesystem
was mounted with -o noexec.

Ensure the filesystem hasn't been mounted with -o noexec for the testcases
before executing them.

Differential Revision: https://reviews.freebsd.org/D5622
MFC after: 1 week
Reviewed by: markj
Sponsored by: EMC / Isilon Storage Division
2016-03-12 19:41:38 +00:00
..
chflags
chmod
chown
ftruncate Better handle filesystems mounted with -o noexec 2016-03-12 19:41:38 +00:00
granular
link
mkdir
mkfifo
mknod
open Better handle filesystems mounted with -o noexec 2016-03-12 19:41:38 +00:00
rename
rmdir
symlink
truncate Better handle filesystems mounted with -o noexec 2016-03-12 19:41:38 +00:00
unlink
conf
misc.sh Better handle filesystems mounted with -o noexec 2016-03-12 19:41:38 +00:00