Add ATF functional tests for fstyp(8)
Details
"kyua test"
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage
Event Timeline
Ping? Assuming it works (as in, if it passes, and if it correctly fails when you tweak the code to break it), could you commit it?
If you're happy with it, I will. I was just waiting for ngie to review it.
On on vacation now; I'll get to this sometime next Wednesdayish.
Address ngie's feedback. Use atf_check on almost every line except the ones
that need to redirect stdout, and condense "mkdir foo; mkdir foo/bar" to "mkdir
-p foo/bar".
usr.sbin/fstyp/tests/fstyp_test.sh | ||
---|---|---|
49 | All references to zcat should use bzcat for portability.. |
usr.sbin/fstyp/Makefile | ||
---|---|---|
47 | The extra diffs in this file are caused by svn r284589, which went in after I opened this review. I didn't actually change this file in diff 6926 | |
usr.sbin/fstyp/tests/fstyp_test.sh | ||
49 | Whoops! I'm surprised that worked at all. I think I started working with gzipped images then switched to bzip2 for better compression. Fix on its way... |