[LU-17091] check correct return value in lfs_df Created: 06/Sep/23 Updated: 23/Sep/23 Resolved: 23/Sep/23 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.16.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Feng Lei | Assignee: | Feng Lei |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||
| Severity: | 3 | ||||
| Rank (Obsolete): | 9223372036854775807 | ||||
| Description |
|
test-framework.sh, function lfs_df, $? is the return value of last command. To check the return value of the first command, it should be ${PIPESTATUS[0]}. |
| Comments |
| Comment by Gerrit Updater [ 06/Sep/23 ] |
|
"Feng Lei <flei@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/52285 |
| Comment by Gerrit Updater [ 23/Sep/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/52285/ |
| Comment by Peter Jones [ 23/Sep/23 ] |
|
Landed for 2.16 |