[LU-13981] tests should be consistent in use of "truncate" Created: 23/Sep/20 Updated: 12/Oct/20 Resolved: 12/Oct/20 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.14.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Neil Brown | Assignee: | Neil Brown |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
Some tests uses $TRUNCATE to truncate a file. This explicitly find .../lustre/tests/truncate. Other tests use "truncate" and assume it is the same program. One test (sanity 399b) uses "truncate -s", which assumes /usr/bin/truncate. I'm not really sure how all this works... test_399b fails for me. The tests should be consistent in which truncate program is used, and how it is called. |
| Comments |
| Comment by Gerrit Updater [ 23/Sep/20 ] |
|
Neil Brown (neilb@suse.de) uploaded a new patch: https://review.whamcloud.com/40005 |
| Comment by Gerrit Updater [ 12/Oct/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/40005/ |
| Comment by Peter Jones [ 12/Oct/20 ] |
|
Landed for 2.14 |