From 6d46346eb93d5032c08cf1e39023b5d57260a766 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Tue, 29 Aug 2017 12:21:29 -0400 Subject: Detect integer overflow/underflow --- libtests/qtest/qutil/qutil.out | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libtests/qtest') diff --git a/libtests/qtest/qutil/qutil.out b/libtests/qtest/qutil/qutil.out index 7a0bba48..c76beb2b 100644 --- a/libtests/qtest/qutil/qutil.out +++ b/libtests/qtest/qutil/qutil.out @@ -14,6 +14,14 @@ one 7 compare okay +-2147483648 to int: PASSED +2147483647 to int: PASSED +2147483648 to int threw: PASSED +-2147483649 to int threw: PASSED +9999999999999999999999999 to int threw: PASSED +2147483648 to int: PASSED +-2147483649 to int: PASSED +99999999999999999999999999999999999999999999999999 to int threw: PASSED ---- before remove exception: remove file: No such file or directory -- cgit v1.2.3-54-g00ecf