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 ] || {