Bug 210183 - Some bin/ls tests don't work when /tmp is mounted tmpfs if amount of memory is less than requested amount
Summary: Some bin/ls tests don't work when /tmp is mounted tmpfs if amount of memory i...
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: tests (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-testing (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-10 05:33 UTC by Enji Cooper
Modified: 2022-01-17 01:30 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Enji Cooper freebsd_committer freebsd_triage 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 freebsd_triage 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.