4 TEST=$($srcdir/command/option_test_command bool=$t)
5 if [ ! "$TEST" = "bool: $t" ]; then
6 echo "Command should understand Option<bool>. Expecting output: 'bool: $t', got: '$TEST'. Program exited with $? code."
11 for t in -2 -1 2 3 4 5 15; do
12 TEST=$($srcdir/command/option_test_command bool=$t)
13 if [ ! "$?" = "1" ]; then
14 echo "Command should not understand Option<bool> if value is different than: 0 or 1. Got: '$TEST'. Program exited with $? code."
19 echo "Command understand Option<bool> correctly."