Bug 210183

Summary: Some bin/ls tests don't work when /tmp is mounted tmpfs if amount of memory is less than requested amount
Product: Base System Reporter: Enji Cooper <ngie>
Component: testsAssignee: freebsd-testing (Nobody) <testing>
Status: New ---    
Severity: Affects Only Me CC: emaste
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223015

Description Enji Cooper freebsd_committer 2016-06-10 05:33:54 UTC
Some of the testcases in bin/ls/, e.g. bin/ls/ls_tests:S_flag , allocate large sparse files in order to test out prefixes and sorting. Unfortunately, if the files cannot be allocated because the perceived file is larger than the amount of reservable memory, the testcases will fail.

The testcases need to do more intelligent requirements checking, depending on the filesystem type.
Comment 1 Ed Maste freebsd_committer 2018-03-09 17:49:08 UTC
This is an unfortunate tmpfs limitation; it would be nice to support sparse files larger than the filesystem.