1 echo Test a regular numeric option
4 cpu-stats test --start abc
6 echo Numeric value with invalid suffix
7 cpu-stats test --start 42WB
9 echo Numeric value with valid suffix. Suffixes are not supported for
10 echo regular numeric options, so this value is rejected
11 cpu-stats test --start 42MB
13 echo Numeric value bigger than INT_MAX
14 cpu-stats test --start 2147483648
16 echo Negative numeric value. The value is not valid for the command
17 echo we are testing, but it has been parsed correctly
18 cpu-stats test --start -1
20 echo Test a scaled numeric option
22 echo Non-numeric value
25 echo Numeric value with invalid suffix
28 echo Numeric value with valid suffix
29 setmaxmem test 42MB --config
31 echo Numeric value bigger than INT_MAX. No failure here because
32 echo scaled numeric values are unsigned long long
33 setmaxmem test 2147483648 --config
35 echo Negative numeric value
38 echo Zero. The value is not valid for the command were testing, but
39 echo it has been parsed correctly
43 setmaxmem test 42 --config