<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/contrib/pjdfstest, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>pjdfstest: Avoid needless use of expr</title>
<updated>2025-10-30T20:18:38+00:00</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2025-10-30T20:18:23+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=28345f093783ec78163660dd1168838fe0ff1f12'/>
<id>28345f093783ec78163660dd1168838fe0ff1f12</id>
<content type='text'>
Sponsored by:	Klara, Inc.
Sponsored by:	NetApp, Inc.
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D53443
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sponsored by:	Klara, Inc.
Sponsored by:	NetApp, Inc.
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D53443
</pre>
</div>
</content>
</entry>
<entry>
<title>pjdfstest: Fix link count test</title>
<updated>2025-10-30T20:18:38+00:00</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2025-10-30T20:18:17+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6c86379b0d0deb2750a662579f63d71ffa519e81'/>
<id>6c86379b0d0deb2750a662579f63d71ffa519e81</id>
<content type='text'>
This UFS-only test verifies that attempting to create more links than
permitted by the file system returns EMLINK, but has been broken ever
since UFS_LINK_MAX was increased because a) it hardcodes the previous
value of UFS_LINK_MAX, and b) the new value requires more space than
the test allocates, so it ends up getting ENOSPC instead of EMLINK.

* Switch to retrieving {PC_LINK_MAX} at runtime.

* Stop the test when we reach {PC_LINK_MAX} links.  This ensures that
  we don't go on for hours if the actual limit turns out to be much
  higher than we anticipated (e.g. INT64_MAX on ZFS).

* Double the size of the test filesystem.

MFC after:	3 days
Sponsored by:	Klara, Inc.
Sponsored by:	NetApp, Inc.
Fixes:		35a301555bff ("Increase UFS/FFS maximum link count from 32767 to 65530.")
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D53442
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This UFS-only test verifies that attempting to create more links than
permitted by the file system returns EMLINK, but has been broken ever
since UFS_LINK_MAX was increased because a) it hardcodes the previous
value of UFS_LINK_MAX, and b) the new value requires more space than
the test allocates, so it ends up getting ENOSPC instead of EMLINK.

* Switch to retrieving {PC_LINK_MAX} at runtime.

* Stop the test when we reach {PC_LINK_MAX} links.  This ensures that
  we don't go on for hours if the actual limit turns out to be much
  higher than we anticipated (e.g. INT64_MAX on ZFS).

* Double the size of the test filesystem.

MFC after:	3 days
Sponsored by:	Klara, Inc.
Sponsored by:	NetApp, Inc.
Fixes:		35a301555bff ("Increase UFS/FFS maximum link count from 32767 to 65530.")
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D53442
</pre>
</div>
</content>
</entry>
<entry>
<title>contrib: Remove various $FreeBSD$ tags not upstream</title>
<updated>2024-05-31T19:49:17+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2024-05-31T19:49:17+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d37eb51047221dc3322b34db1038ff3aa533883f'/>
<id>d37eb51047221dc3322b34db1038ff3aa533883f</id>
<content type='text'>
Sponsored by:		Netflix
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sponsored by:		Netflix
</pre>
</div>
</content>
</entry>
<entry>
<title>Pull down pjdfstest 0.1</title>
<updated>2017-06-28T09:22:45+00:00</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2017-06-28T09:22:45+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3416500aef140042c64bc149cb1ec6620483bc44'/>
<id>3416500aef140042c64bc149cb1ec6620483bc44</id>
<content type='text'>
The summary of changes is as follows..

Generic changes::
- Added configure support [2].
- Check for lchmod filesystem support with create_file(..); for
  testcases that require lchmod, skip the testcase -- otherwise
  use chmod directly [1].
- Added Travis CI integration [2].
- Added utimensat testcases [1].

Linux support::
- Fixed Linux support to pass on later supported versions of
  Fedora/Ubuntu [2].
- Conditionally enable posix_fallocate(2) support [2].

OSX support::
- Fixed compilation on OSX [2].
- Added partial OSX support (the test run isn't fully green yet)
  [2].

MFC after:	2 months
Obtained from:	https://github.com/pjd/pjdfstest/tree/0.1
Relnotes:	yes
Submitted by:	asomers [1], ngie [2]
Tested with:	UFS, ZFS
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The summary of changes is as follows..

Generic changes::
- Added configure support [2].
- Check for lchmod filesystem support with create_file(..); for
  testcases that require lchmod, skip the testcase -- otherwise
  use chmod directly [1].
- Added Travis CI integration [2].
- Added utimensat testcases [1].

Linux support::
- Fixed Linux support to pass on later supported versions of
  Fedora/Ubuntu [2].
- Conditionally enable posix_fallocate(2) support [2].

OSX support::
- Fixed compilation on OSX [2].
- Added partial OSX support (the test run isn't fully green yet)
  [2].

MFC after:	2 months
Obtained from:	https://github.com/pjd/pjdfstest/tree/0.1
Relnotes:	yes
Submitted by:	asomers [1], ngie [2]
Tested with:	UFS, ZFS
</pre>
</div>
</content>
</entry>
<entry>
<title>Better handle filesystems mounted with -o noexec</title>
<updated>2016-03-12T19:41:38+00:00</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2016-03-12T19:41:38+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=45dc13f1ea17f98ac7b92768814d579ac48bfd04'/>
<id>45dc13f1ea17f98ac7b92768814d579ac48bfd04</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix race when testing for ETXTBSY writing to ${n0} (process image) by making</title>
<updated>2015-04-16T03:35:47+00:00</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2015-04-16T03:35:47+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f95c930e6701aa675377bc5871ea490dd565eeba'/>
<id>f95c930e6701aa675377bc5871ea490dd565eeba</id>
<content type='text'>
sure the process has been started beforehand with pgrep

pkill the process afterwards to make sure it's dead when the unlink is run
(not strictly required, but I was being conservative)

MFC after: 1 week
Reviewed by: Darius O'Conner, mjohnston
Sponsored by: EMC / Isilon Storage Division
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
sure the process has been started beforehand with pgrep

pkill the process afterwards to make sure it's dead when the unlink is run
(not strictly required, but I was being conservative)

MFC after: 1 week
Reviewed by: Darius O'Conner, mjohnston
Sponsored by: EMC / Isilon Storage Division
</pre>
</div>
</content>
</entry>
<entry>
<title>Increase the memory disk size in the following testcases to avoid mount</title>
<updated>2014-09-24T22:51:16+00:00</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2014-09-24T22:51:16+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4ba73429a3a213248fbf8f0e124ca428e1d824ea'/>
<id>4ba73429a3a213248fbf8f0e124ca428e1d824ea</id>
<content type='text'>
failures, which would cause cascade failures in the rest of the test
run:

link/15.t, open/19.t, mkdir/11.t, mkfifo/11.t, symlink/11.t

Fail quickly in all of the testcases if mdconfig, mount, umount, etc
fails to avoid issues similar to this in the future

Submitted by: Casey Peel &lt;cpeel@isilon.com&gt;
MFC after: 2 weeks
X-MFC with: r272057
Sponsored by: EMC / Isilon Storage Division
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
failures, which would cause cascade failures in the rest of the test
run:

link/15.t, open/19.t, mkdir/11.t, mkfifo/11.t, symlink/11.t

Fail quickly in all of the testcases if mdconfig, mount, umount, etc
fails to avoid issues similar to this in the future

Submitted by: Casey Peel &lt;cpeel@isilon.com&gt;
MFC after: 2 weeks
X-MFC with: r272057
Sponsored by: EMC / Isilon Storage Division
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix the executed testplan count</title>
<updated>2014-09-24T22:18:21+00:00</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2014-09-24T22:18:21+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e9925bdb66961f3409c3e6695cf58747b1b6825d'/>
<id>e9925bdb66961f3409c3e6695cf58747b1b6825d</id>
<content type='text'>
MFC after: 2 weeks
X-MFC with: r272057
Sponsored by: EMC / Isilon Storage Division
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MFC after: 2 weeks
X-MFC with: r272057
Sponsored by: EMC / Isilon Storage Division
</pre>
</div>
</content>
</entry>
<entry>
<title>Expect ELOOP on Darwin/Linux with "O_NOFOLLOW was specified and the target is a</title>
<updated>2014-09-24T22:14:53+00:00</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2014-09-24T22:14:53+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4dc70fc5f6c9fc07cd75e79679f6ba10f0fc5025'/>
<id>4dc70fc5f6c9fc07cd75e79679f6ba10f0fc5025</id>
<content type='text'>
symbolic link" case. Assume EMLINK on the rest of the OSes (FreeBSD, Solaris,
etc)

MFC after: 2 weeks
X-MFC with: r272057
Sponsored by: EMC / Isilon Storage Division
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
symbolic link" case. Assume EMLINK on the rest of the OSes (FreeBSD, Solaris,
etc)

MFC after: 2 weeks
X-MFC with: r272057
Sponsored by: EMC / Isilon Storage Division
</pre>
</div>
</content>
</entry>
<entry>
<title>Import pjdfstest from ^/vendor/pjdfstest/abf03c3a47745d4521b0e4aa141317553ca48f91</title>
<updated>2014-09-24T07:00:35+00:00</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2014-09-24T07:00:35+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=40a8ac8f62b535d30349faf28cf47106b7041b83'/>
<id>40a8ac8f62b535d30349faf28cf47106b7041b83</id>
<content type='text'>
- 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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- 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
</pre>
</div>
</content>
</entry>
</feed>
