Page MenuHomeFreeBSD

makefs: tests: Fix -D flag test
ClosedPublic

Authored by jlduran on Wed, Dec 31, 1:40 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jan 10, 6:32 PM
Unknown Object (File)
Sat, Jan 10, 4:03 PM
Unknown Object (File)
Sat, Jan 10, 3:41 PM
Unknown Object (File)
Sat, Jan 10, 1:10 AM
Unknown Object (File)
Fri, Jan 9, 3:16 PM
Unknown Object (File)
Fri, Jan 9, 12:49 PM
Unknown Object (File)
Thu, Jan 8, 9:49 AM
Unknown Object (File)
Fri, Jan 2, 10:46 PM
Subscribers

Details

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
This revision was automatically updated to reflect the committed changes.