bc: fix comparison bug, closes 12336
function old new delta bc_num_cmp 249 259 +10 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -187,6 +187,11 @@ testing "bc { print 1 }" \
|
||||
"1" \
|
||||
"" "{ print 1 }"
|
||||
|
||||
testing "bc comparison 1" \
|
||||
"bc" \
|
||||
"1\n" \
|
||||
"" "-10 < -9"
|
||||
|
||||
testing "bc nested loops and breaks" \
|
||||
"bc" \
|
||||
"\
|
||||
|
Reference in New Issue
Block a user