Sponsored by: Klara, Inc.
Details
Details
- Reviewers
ngie markj rmacklem - Group Reviewers
Klara - Commits
- rGd6d22a4530f9: cp: Add tests involving sparse files.
rG822fa7ae1e3e: cp: Add tests involving sparse files.
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
As noted in D38191, our cp(1) transparently and unconditionally preserves holes when copying sparse files.
Comment Actions
I'm afraid I know nothing about the testing framework,
so I can't help with this one.
Good to see it being done though.
Comment Actions
Seems ok, though these tests might fail if run on unusual filesystems like msdosfs. I think we can address that later if it ever comes up though.
bin/cp/tests/cp_test.sh | ||
---|---|---|
314 | Since these seem to be alphabetically sorted, the sparse tests should come before standalone_Pflag. |