Page MenuHomeFreeBSD

stat: Nits in stat tests
ClosedPublic

Authored by des on Wed, Apr 8, 11:49 AM.
Tags
None
Referenced Files
F153136389: D56304.id175100.diff
Sun, Apr 19, 10:13 AM
F153112862: D56304.id.diff
Sun, Apr 19, 6:10 AM
F153027945: D56304.id175137.diff
Sat, Apr 18, 5:32 PM
F153012996: D56304.id175100.diff
Sat, Apr 18, 3:17 PM
F153012317: D56304.id175099.diff
Sat, Apr 18, 3:11 PM
F153012281: D56304.id175093.diff
Sat, Apr 18, 3:11 PM
Unknown Object (File)
Sat, Apr 18, 12:52 PM
Unknown Object (File)
Sat, Apr 18, 12:21 PM
Subscribers

Details

Summary
  • Use ourselves as test file instead of /COPYRIGHT, which may or may not be present in the test environment.
  • atf-check understands \n in strings, use it.
  • Some file systems don't like creating small holes, so create large ones instead. This means we need two variables: ps (page size) is the minimum size of a data region and the alignment for a hole, while hs (hole size) is the minimum size of the holes we create. This makes no difference on FreeBSD but makes it easier to port the test to other platforms.

MFC after: 1 week
Sponsored by: Klara, Inc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 72047
Build 68930: arc lint + arc unit