3 for t in 0 1 2 3 4 5 10 100 200 300 21231; do
4 TEST=$($srcdir/command/option_test_command unsigned-int=$t)
5 if [ ! "$TEST" = "unsigned int: $t" ]; then
6 echo "Command should understand Option<unsigned int>. Expecting output: 'unsigned int: $t', got: '$TEST', from: '$t'. Program exited with $? code."
11 for t in a b c d e example_string f3f12; do
12 TEST=$($srcdir/command/option_test_command unsigned-int=$t)
13 if [ ! "$?" = "1" ]; then
14 echo "Command should not understand Option<unsigned int> if value is not unsigned integer only. Got: '$TEST', from: '$t'. Program exited with $? code."
19 echo "Command understand Option<int> correctly."