HomeClusterLabs Projects

Test: cts: cluster_test: simplify comparisons

Description

Test: cts: cluster_test: simplify comparisons

  • do not use hyper-portable, yet ugly [ x"FOO" = "bar" ] (also actually normalize non-usage of this construction)
  • use [ <TEST> ] || <SINGULAR-EXPRESSION> instead of heavy-weight if-then structure

Signed-off-by: Jan Pokorný <jpokorny@redhat.com>

Details

Provenance
Jan Pokorný <jpokorny@redhat.com>Authored on Aug 18 2015, 10:57 AM
Parents
rPe4fa38e941cc: Test: cts: cluster_test: fix enquoting of the variables
Branches
Unknown
Tags
Unknown

Event Timeline