diff --git a/.gitattributes b/.gitattributes index 9ef7ae218894fb8a26b6a6fe3cf5974fee33d04e..a1cfa410910ad8ab19bf717555ee80aef1b82c02 100644 --- a/.gitattributes +++ b/.gitattributes @@ -896,7 +896,6 @@ testfont binary /src/svalue.c foreign_ident /src/svalue.h foreign_ident /src/test_co.pike foreign_ident -/src/testsuite.in foreign_ident /src/threads.c foreign_ident /src/threads.h foreign_ident /src/time_stuff.h foreign_ident diff --git a/src/testsuite.in b/src/testsuite.in index 1ba99d2e641b28155b71b5b52278354f5641e00a..3cb3b3d09a282f224f39156622fc313394c74bb2 100644 --- a/src/testsuite.in +++ b/src/testsuite.in @@ -1,5 +1,5 @@ START_MARKER -test_true([["$Id: testsuite.in,v 1.890 2010/02/09 12:30:24 grubba Exp $"]]); +test_true([["$Id$"]]); // This triggered a bug only if run sufficiently early. test_compile_any([[#pike 7.2]]) @@ -2856,6 +2856,16 @@ test_any([[ return 0; ]], 0) +test_any_equal([[ + // Test automap combined with splice. [LysLysKOM 23258037] + array ret = ({}); + for (int x = 0; x < 10; x++) { + array a = ({ x, }); + ret += `+(a[*], @a); + } + return ret; +]], ({ 0, 2, 4, 6, 8, 10, 12, 14, 16, 18 })) + test_any([[ // Test eval_low() on seemingly constant expressions, that // attempt to access variables in the fake object. [Bug 5273]