| 93b15dbc | 05-Jan-2026 |
Jose Luis Duran <jlduran@FreeBSD.org> |
makefs: tests: Fix timestamp-related tests
Use a variable for mtree that includes the DEFAULT_MTREE_KEYWORDS, in order to avoid missing the important "time" keyword or passing an unimplemented "nlin
makefs: tests: Fix timestamp-related tests
Use a variable for mtree that includes the DEFAULT_MTREE_KEYWORDS, in order to avoid missing the important "time" keyword or passing an unimplemented "nlink" keyword.
Unskip the "failing" tests, and comment out the specific failing checks, these will be addressed (or at least discussed) in a different revision.
For MS-DOS tests, use an even value timestamp, as precision is 2s.
For ZFS tests, use import_image instead of mount_image consistently.
Reviewed by: bnovkov, markj MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D54429
show more ...
|
| 96efda9c | 05-Jan-2026 |
Jose Luis Duran <jlduran@FreeBSD.org> |
makefs: tests: Fix -D flag test
As stated in the manual page:
-F is almost certainly not the option you are looking for. To create an image from a list of files in an mtree format manifest, specif
makefs: tests: Fix -D flag test
As stated in the manual page:
-F is almost certainly not the option you are looking for. To create an image from a list of files in an mtree format manifest, specify it as the last argument on the command line, not as the argument to -F.
This change does exactly that. Also bug #192839 has already been fixed.
Reviewed by: ngie MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D54428
show more ...
|
| 0a6deb87 | 05-Jan-2026 |
Jose Luis Duran <jlduran@FreeBSD.org> |
makefs: tests: Cleanup and remove default flags
Cleanup and remove default atf_check flags for clarity. The following two lines are equivalent:
atf_check $cmd atf_check -s exit:0 -e empty
makefs: tests: Cleanup and remove default flags
Cleanup and remove default atf_check flags for clarity. The following two lines are equivalent:
atf_check $cmd atf_check -s exit:0 -e empty -o empty $cmd
Update the links to the reference documents.
Remove the D_flag_cleanup function, as common_cleanup() for these particular set of tests does two things:
1. Unmount the md(4) device. 2. Destroy the md(4) device.
Essentially, one should only call common_cleanup() if the test body invokes mount_image(). This is not the case for D_flag_body().
No functional changes intended.
Reviewed by: ngie MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D54427
show more ...
|
| 065f0217 | 05-Jan-2026 |
Jose Luis Duran <jlduran@FreeBSD.org> |
makefs: tests: Double the timeout of ZFS file_extend test
The test makefs_zfs_tests:file_extend is timing out on ci.freebsd.org. Double the default timeout to allow it to finish.
Reported by: Jenki
makefs: tests: Double the timeout of ZFS file_extend test
The test makefs_zfs_tests:file_extend is timing out on ci.freebsd.org. Double the default timeout to allow it to finish.
Reported by: Jenkins Reviewed by: asomers MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D54425
show more ...
|
| 507f8523 | 25-Jul-2025 |
Toomas Soome <tsoome@FreeBSD.org> |
makefs: zfs dataset mountpoints are considered non-empty
The dataset mountpoints get link count and size calculated by content of dataset root directory, but this will break libzfs dir_is_empty_stat
makefs: zfs dataset mountpoints are considered non-empty
The dataset mountpoints get link count and size calculated by content of dataset root directory, but this will break libzfs dir_is_empty_stat() test.
For fix, we need to check if the directory is mountpoint for dataset, and calculate the link count and size accordingly.
Reviewed by: markj Differential revision: https://reviews.freebsd.org/D51593
show more ...
|
| 68dc9c6b | 21-Jul-2025 |
Mark Johnston <markj@FreeBSD.org> |
makefs/zfs tests: Run in parallel
Use the script PID as a pool GUID. This way, tests running in parallel will have pool GUIDs that won't collide, and the tests no longer need to be serialized.
MFC
makefs/zfs tests: Run in parallel
Use the script PID as a pool GUID. This way, tests running in parallel will have pool GUIDs that won't collide, and the tests no longer need to be serialized.
MFC after: 1 month
show more ...
|
| b61239ef | 16-Jun-2025 |
Jessica Clarke <jrtc27@FreeBSD.org> |
msdosfs: Add _WANT_MSDOSFS_INTERNALS to replace MAKEFS in headers
This lets other bits of userspace expose these various definitions too. In particular, this will be used by libprocstat so it can st
msdosfs: Add _WANT_MSDOSFS_INTERNALS to replace MAKEFS in headers
This lets other bits of userspace expose these various definitions too. In particular, this will be used by libprocstat so it can stop defining _KERNEL.
The function prototypes surely won't be useful in other contexts, but the various types are, and it's not worth hiding the prototypes unless they end up causing issues, but so long as they aren't called they shouldn't be a problem.
Note the MAKEFS define continues to exist, but only for use in newfs_msdos, as those sources are reused by makefs with some changed behaviour.
Reviewed by: imp, markj Differential Revision: https://reviews.freebsd.org/D50718
show more ...
|
| 964b0ece | 25-Mar-2025 |
Bojan Novković <bnovkov@FreeBSD.org> |
makefs: Add tests for the -T flag
Add tests for the -T flag to each makefs backend. This includes tests for both mtree and directory scan options.
PR: 285630 Sponsored by: Klara, Inc.
makefs: Add tests for the -T flag
Add tests for the -T flag to each makefs backend. This includes tests for both mtree and directory scan options.
PR: 285630 Sponsored by: Klara, Inc. Sponsored by: The FreeBSD Foundation Reviewed by: markj, emaste, kevans, jlduran Differential Revision: https://reviews.freebsd.org/D49492
show more ...
|
| 1e904d67 | 01-Apr-2025 |
Bojan Novković <bnovkov@FreeBSD.org> |
makefs: Remove redundant 'stampst' checks in several backends
PR: 285630 Sponsored by: Klara, Inc. Sponsored by: The FreeBSD Foundation Reviewed by: markj Differential Revision: https://reviews.
makefs: Remove redundant 'stampst' checks in several backends
PR: 285630 Sponsored by: Klara, Inc. Sponsored by: The FreeBSD Foundation Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D49601
show more ...
|
| 018493d3 | 08-May-2025 |
Mark Johnston <markj@FreeBSD.org> |
makefs: Use gmtime() instead of localtime for timestamps
Otherwise the output file's contents will depend on the configured time zone.
Reviewed by: emaste MFC after: 1 month Sponsored by: Klara, In
makefs: Use gmtime() instead of localtime for timestamps
Otherwise the output file's contents will depend on the configured time zone.
Reviewed by: emaste MFC after: 1 month Sponsored by: Klara, Inc. Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D50198
show more ...
|