From: Ben Pfaff Date: Mon, 24 Apr 2023 16:04:09 +0000 (-0700) Subject: MATRIX: Fix test failure on 32-bit platforms. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eeb75801dc298400049b4bf2bdf1dc095d95d399;p=pspp MATRIX: Fix test failure on 32-bit platforms. Thanks to Friedrich Beckmann for reporting the problem. Fixes: 505a04fe4cf5 ("Fix checks for valid integer range subset of 'double'.") --- diff --git a/tests/language/commands/matrix.at b/tests/language/commands/matrix.at index 9ad1608ad6..0ae9d07bb4 100644 --- a/tests/language/commands/matrix.at +++ b/tests/language/commands/matrix.at @@ -1572,7 +1572,8 @@ PRINT {{1; 2}:3e50}. PRINT {-9223372036854770000:9223372036854775807}. END MATRIX. ]) -AT_CHECK([pspp matrix.sps], [1], [dnl +AT_CHECK([pspp matrix.sps], [1], [stdout]) +AT_CHECK([sed 's/from -2147483648 to 2147483647/from -9007199254740992 to 9007199254740992/' stdout], [0], [dnl {1:3:-1} {1:3}