[LU-6058] test-framework should log to stderr Created: 19/Dec/14 Updated: 22/Dec/14 Resolved: 22/Dec/14 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.7.0 |
| Fix Version/s: | Lustre 2.7.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | John Hammond | Assignee: | John Hammond |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | tests | ||
| Severity: | 3 |
| Rank (Obsolete): | 16871 |
| Description |
|
The output of test-framework.sh's log() function is often being lost due to command substitution. log() should print it message to stderr instead of stdout so that the message will appear in the test logs even inside of a command substitution. The bash stack trace printed during failures should also go to stderr. |
| Comments |
| Comment by Gerrit Updater [ 19/Dec/14 ] |
|
John L. Hammond (john.hammond@intel.com) uploaded a new patch: http://review.whamcloud.com/13155 |
| Comment by Gerrit Updater [ 20/Dec/14 ] |
|
Andreas Dilger (andreas.dilger@intel.com) merged in patch http://review.whamcloud.com/13155/ |
| Comment by Andreas Dilger [ 22/Dec/14 ] |
|
Patch landed to master for 2.7.0. |