[LU-6857] test-framework defect: TF_FAIL is not initialised Created: 16/Jul/15 Updated: 18/May/16 Resolved: 31/Jul/15 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.7.0 |
| Fix Version/s: | Lustre 2.8.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Elena Gryaznova | Assignee: | Jian Yu |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | patch | ||
| Severity: | 3 |
| Epic: | test |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
test-framework: #!/bin/bash
trap 'print_summary && touch $TF_FAIL && \
echo "test-framework exiting on error"' ERR
TF_FAIL is initialised in auster only : ./auster:export TF_FAIL=/tmp/tf.fail
./auster: rm -f $TF_FAIL
./auster: if [[ $rc -ne 0 || -f $TF_FAIL ]]; then
This leads t-f to fail with " touch: missing file operand" if the suites are run not under auster control : fre908: status script Total(sec) E(xcluded) S(low)
fre908: ------------------------------------------------------------------------------------
fre908:
fre908: touch: missing file operand
fre908: Try `touch --help' for more information.
fre907: ++ print_summary
fre907: ++ trap 0
|
| Comments |
| Comment by Gerrit Updater [ 16/Jul/15 ] |
|
Elena Gryaznova (elena.gryaznova@seagate.com) uploaded a new patch: http://review.whamcloud.com/15617 |
| Comment by Gerrit Updater [ 31/Jul/15 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/15617/ |
| Comment by Peter Jones [ 31/Jul/15 ] |
|
Landed for 2.8 |