freebsd-nq/contrib/pjdfstest/tests
Enji Cooper 45dc13f1ea 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 Increase the memory disk size in the following testcases to avoid mount 2014-09-24 22:51:16 +00:00
chmod Increase the memory disk size in the following testcases to avoid mount 2014-09-24 22:51:16 +00:00
chown Increase the memory disk size in the following testcases to avoid mount 2014-09-24 22:51:16 +00:00
ftruncate Better handle filesystems mounted with -o noexec 2016-03-12 19:41:38 +00:00
granular
link Increase the memory disk size in the following testcases to avoid mount 2014-09-24 22:51:16 +00:00
mkdir Increase the memory disk size in the following testcases to avoid mount 2014-09-24 22:51:16 +00:00
mkfifo Increase the memory disk size in the following testcases to avoid mount 2014-09-24 22:51:16 +00:00
mknod
open Better handle filesystems mounted with -o noexec 2016-03-12 19:41:38 +00:00
rename Increase the memory disk size in the following testcases to avoid mount 2014-09-24 22:51:16 +00:00
rmdir Increase the memory disk size in the following testcases to avoid mount 2014-09-24 22:51:16 +00:00
symlink Increase the memory disk size in the following testcases to avoid mount 2014-09-24 22:51:16 +00:00
truncate Better handle filesystems mounted with -o noexec 2016-03-12 19:41:38 +00:00
unlink Increase the memory disk size in the following testcases to avoid mount 2014-09-24 22:51:16 +00:00
conf
misc.sh Better handle filesystems mounted with -o noexec 2016-03-12 19:41:38 +00:00