arith-ternary3.tests 117 B

1234
  1. exec 2>&1
  2. # "EXPR ?..." should check _evaluated_ EXPR,
  3. # not its last value
  4. echo 42:$((1 < 1 ? -1 : 1 > 1 ? 1 : 42))