History log of /src/tests/fs/lfs/
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: perseant-exfatfs-base-20250801 perseant-exfatfs-base-20240630 perseant-exfatfs-base cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base phil-wifi-20200421 phil-wifi-20200411 phil-wifi-20200406 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base perseant-stdc-iso10646-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base yamt-pagecache-base9 yamt-pagecache-tag8 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 agc-symver-base tls-maxphys-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 yamt-pagecache-base5 yamt-pagecache-base4 yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base bouyer-quota2-nbase bouyer-quota2-base
1.2 13-Jul-2010 jmmv

Get rid of static Atffiles and let bsd.test.mk generate them on the fly.


1.1 28-Jun-2010 pooka

add test for PR kern/43503


1.5 21-Oct-2025 perseant

Add tests for LFS resize and new fcntl commands.


1.4 13-Oct-2025 perseant

Add test cases to show whether newfs_lfs creates a file system that
fsck_lfs can understand; and whether orphans (files still in use, after
removal, at the time of a system crash) are removed at fs mount time.


Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base netbsd-10-1-RELEASE perseant-exfatfs-base-20240630 perseant-exfatfs-base netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
1.3 18-Aug-2020 perseant

Add skipped test for in-kernel roll-forward agent


Revision tags: phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406
1.2 01-Mar-2020 christos

Centralize the base rump libraries into a variable used by all the other
Makefiles so that we can make changes to it centrally as needed and have
less mess. Fixes the sun2 build that needs rumpvfs after librump after
the latest changes.


Revision tags: netbsd-8-3-RELEASE netbsd-9-4-RELEASE netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE netbsd-8-2-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 netbsd-7-2-RELEASE pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 netbsd-7-1-2-RELEASE pgoyette-compat-base netbsd-7-1-1-RELEASE matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-7-base yamt-pagecache-base9 yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 tls-maxphys-base matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
1.1 28-Jun-2010 pooka

branches: 1.1.46;
add test for PR kern/43503


1.1 13-Oct-2025 perseant

Add test cases to show whether newfs_lfs creates a file system that
fsck_lfs can understand; and whether orphans (files still in use, after
removal, at the time of a system crash) are removed at fs mount time.


1.6 10-Dec-2025 perseant

Use the default timeout on the autoclean tests to avoid false positives
on slower architectures.


1.5 06-Nov-2025 perseant

Add in-kernel cleaner. Move cleaning-related routines into their own file.
Document the fcntl calls better in lfs.h. Bounds-check inode numbers in
segment parsing functions. Use the in-kernel cleaner in a greedy mode
for tests in tests/fs/vfs, and add a test of the kernel cleaner.


1.4 30-Oct-2025 perseant

Add a seed parameter to differentiate between files, and correct the logic
for appending files so that the resultant file matches the expectation.
Pass the t_rfw tests again.


1.3 29-Oct-2025 martin

Use default test timeout (3min) for now for all this tests.
The timeouts cause artificial failures on many slower test setups
and the tests run sucessfull if given enough time.

Example from an sh3 machine:

t_fcntl (1/1): 4 test cases
cleanseg32: [330.482904s] Passed.
cleanseg64: [321.895482s] Passed.
coalesce32: [20.214675s] Passed.
coalesce64: [20.613933s] Passed.

We may reduce timeouts again after we have working logs from various
architectures.


1.2 21-Oct-2025 perseant

Make the test files smaller so that they write more quickly. To avoid
a timeout on slower platforms reported by martin@.


1.1 21-Oct-2025 perseant

Add tests for LFS resize and new fcntl commands.


1.4 19-Dec-2025 perseant

Update the orphan test to use dumplfs, avoiding false negatives.
Add post-test fsck to all the LFS tests.

(This is the intended commit comment for the previous revision.)


1.3 19-Dec-2025 perseant

sys/ufs/lfs/lfs_alloc.c


1.2 30-Oct-2025 perseant

Add a seed parameter to differentiate between files, and correct the logic
for appending files so that the resultant file matches the expectation.
Pass the t_rfw tests again.


1.1 13-Oct-2025 perseant

Add test cases to show whether newfs_lfs creates a file system that
fsck_lfs can understand; and whether orphans (files still in use, after
removal, at the time of a system crash) are removed at fs mount time.


Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base netbsd-10-1-RELEASE perseant-exfatfs-base-20240630 perseant-exfatfs-base netbsd-9-4-RELEASE netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base netbsd-9-3-RELEASE cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base
1.8 09-Jul-2019 maya

return return atf_no_error() instead of 0 for consistency.

suggested by moritzbuhl in https://github.com/NetBSD/src/pull/11/


Revision tags: netbsd-8-3-RELEASE netbsd-8-2-RELEASE phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base
1.7 13-Jan-2017 christos

branches: 1.7.14;
Don't play with "../.." in includes for h_macros.h; deal with it centrally.
Minor fixes.


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 pgoyette-localcount-20170107 netbsd-7-1-RC1 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-7-base yamt-pagecache-base9 yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 tls-maxphys-base matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase
1.6 22-Feb-2011 pooka

branches: 1.6.26;
make the timeouts a bit more generous for really slow systems


Revision tags: bouyer-quota2-base matt-mips64-premerge-20101231
1.5 15-Nov-2010 pooka

branches: 1.5.2;
double the timeout for slow hosts (from 1 to 2 seconds)


1.4 07-Nov-2010 jmmv

Adjusts tests after import of atf-0.12:

- The use.fs property is gone.
- Mark the tests/fs/t_create:attrs test as broken when using the default
unprivileged-user:_atf setting. This probably deserves a fix somehow
but I'm not sure at this point.


1.3 03-Jul-2010 jmmv

Re-add PR number and expected failure condition (as a comment, because the
problem is resolved). Per pooka's request.


1.2 03-Jul-2010 jmmv

Replace custom xfail settings with the new expected failure support in
atf 0.10.


1.1 28-Jun-2010 pooka

add test for PR kern/43503


1.2 30-Oct-2025 perseant

Add a seed parameter to differentiate between files, and correct the logic
for appending files so that the resultant file matches the expectation.
Pass the t_rfw tests again.


1.1 21-Oct-2025 perseant

Add tests for LFS resize and new fcntl commands.


1.8 30-Oct-2025 perseant

Add a seed parameter to differentiate between files, and correct the logic
for appending files so that the resultant file matches the expectation.
Pass the t_rfw tests again.


1.7 18-Oct-2025 perseant

Convert the rfw64 test to expect success, following sys/ufs/lfs/lfs_rfw.c
rev 1.39.


1.6 13-Oct-2025 perseant

Convert t_rfw:rfw64 test case to expect-fail.


1.5 13-Oct-2025 perseant

Add test cases to show whether newfs_lfs creates a file system that
fsck_lfs can understand; and whether orphans (files still in use, after
removal, at the time of a system crash) are removed at fs mount time.


1.4 27-Aug-2025 perseant

Add extra checks, and report intermediate status as a debugging aid.
Separate tests for 32-bit LFS (expect fail) and 64-bit (skip, unable to test).


Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base netbsd-10-1-RELEASE perseant-exfatfs-base-20240630 perseant-exfatfs-base netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
1.3 23-Aug-2020 riastradh

Nix trailing whitespace.


1.2 23-Aug-2020 perseant

Expand test to cover more failure cases. Change from skipped to expect fail
in anticipation of working roll-forward code.


1.1 18-Aug-2020 perseant

Add skipped test for in-kernel roll-forward agent


1.6 19-Dec-2025 perseant

Update the orphan test to use dumplfs, avoiding false negatives.
Add post-test fsck to all the LFS tests.

(This is the intended commit comment for the previous revision.)


1.5 19-Dec-2025 perseant

sys/ufs/lfs/lfs_alloc.c


1.4 30-Oct-2025 perseant

Add a seed parameter to differentiate between files, and correct the logic
for appending files so that the resultant file matches the expectation.
Pass the t_rfw tests again.


1.3 29-Oct-2025 perseant

Use a pseudorandom number with a well-known seed to provide file data
pattern, rather than a pattern that repeats every 256 bytes. Write
pattern files to the test file system in blocks rather than one byte at a
time, significantly speeding up the test.


1.2 18-Oct-2025 perseant

Explicitly specify the segment size so the future tests can use the value.
The specified size is the same that was previously auto-selected, so there
is no effective change.


1.1 13-Oct-2025 perseant

Add test cases to show whether newfs_lfs creates a file system that
fsck_lfs can understand; and whether orphans (files still in use, after
removal, at the time of a system crash) are removed at fs mount time.


1.4 30-Oct-2025 perseant

Add a seed parameter to differentiate between files, and correct the logic
for appending files so that the resultant file matches the expectation.
Pass the t_rfw tests again.


1.3 26-Oct-2025 andvar

s/creat /create/ in few more comments and error log messages.


1.2 18-Oct-2025 perseant

Explicitly specify the segment size so the future tests can use the value.
The specified size is the same that was previously auto-selected, so there
is no effective change.


1.1 13-Oct-2025 perseant

Add test cases to show whether newfs_lfs creates a file system that
fsck_lfs can understand; and whether orphans (files still in use, after
removal, at the time of a system crash) are removed at fs mount time.