Branch: Tag:

2008-06-29

2008-06-29 15:37:53 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Bugfix.

Rev: src/testsuite.in:1.836

1:   START_MARKER - test_true([["$Id: testsuite.in,v 1.835 2008/06/29 15:30:07 grubba Exp $"]]); + test_true([["$Id: testsuite.in,v 1.836 2008/06/29 15:37:53 grubba Exp $"]]);      // This triggered a bug only if run sufficiently early.   test_compile_any([[#pike 7.2]])
10538:    return sort (a);   ]], sort(({0, "foo", "gnu"})))    + // Some versions of Pike prior to 7.8 had unsigned characters. + // We regard this as an implementation bug, and thus no compat. + cond([[0]], [[    test_equal([[    #pike 7.6    sort(({"\Uffffffff","\0", "", "\177", "\377", "\U7fffffff"}));    ]], ({ "", "\0", "\177", "\377", "\U7fffffff", "\Uffffffff" })) -  + ]])      test_equal([[    sort(({"\Uffffffff","\0", "", "\177", "\377", "\U7fffffff"}));