Details
-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
None
-
3
-
9223372036854775807
Description
In sanityn test_80b() the condition rc != 0 || rc != 16 is true for all values of rc:
while true; do mdt_idx=$((RANDOM % MDSCOUNT)) $LFS migrate -m $mdt_idx $migrate_dir1 2&>/dev/null || rc=$? [ $rc -ne 0 -o $rc -ne 16 ] || break done
Some grepping turned up three more tests:
lustre-release$ git grep --line-number -E '\$[^ ]+ -ne 0 -o \$[^ ]+ -ne ' lustre/tests/sanityn.sh:3448: [ $rc -ne 0 -o $rc -ne 16 ] || break lustre/tests/sanityn.sh:3483: [ $rc1 -ne 0 -o $rc1 -ne 1 ] || { lustre/tests/sanityn.sh:3497: [ $rc1 -ne 0 -o $rc1 -ne 1 ] || { lustre/tests/sanityn.sh:3509: [ $rc1 -ne 0 -o $rc1 -ne 1 ] || {
Attachments
Issue Links
Activity
Resolution | New: Duplicate [ 3 ] | |
Status | Original: Reopened [ 4 ] | New: Resolved [ 5 ] |
Fix Version/s | Original: Lustre 2.15.0 [ 14791 ] |
Resolution | Original: Duplicate [ 3 ] | |
Status | Original: Closed [ 6 ] | New: Reopened [ 4 ] |
Fix Version/s | New: Lustre 2.15.0 [ 14791 ] | |
Resolution | New: Duplicate [ 3 ] | |
Status | Original: Open [ 1 ] | New: Closed [ 6 ] |
Labels | Original: test | New: test test_script_improvements |
Assignee | Original: Saurabh Tandan [ standan ] | New: James Nunez [ jamesanunez ] |
Assignee | Original: James Nunez [ jamesanunez ] | New: Saurabh Tandan [ standan ] |
Assignee | Original: WC Triage [ wc-triage ] | New: James Nunez [ jamesanunez ] |