Page MenuHomeFreeBSD

makefs: tests: Fix -D flag test
AcceptedPublic

Authored by jlduran on Wed, Dec 31, 1:40 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 31, 12:16 PM
Unknown Object (File)
Wed, Dec 31, 11:29 AM
Unknown Object (File)
Wed, Dec 31, 11:02 AM
Unknown Object (File)
Wed, Dec 31, 7:56 AM
Unknown Object (File)
Wed, Dec 31, 7:44 AM
Unknown Object (File)
Wed, Dec 31, 4:24 AM
Subscribers

Details

Reviewers
ngie
emaste
Summary

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.

Diff Detail

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

Event Timeline

usr.sbin/makefs/tests/makefs_cd9660_tests.sh
64

It is worth mentioning that makefs can still crash mtree if an invalid specification, (invalid type, or no type) is passed. This will be addressed separately.

This revision is now accepted and ready to land.Wed, Dec 31, 7:30 AM