equal
deleted
inserted
replaced
31 - assert(r == false and ismsg(m)) |
31 - assert(r == false and ismsg(m)) |
32 +-- assert(r == false and ismsg(m)) |
32 +-- assert(r == false and ismsg(m)) |
33 assert(f:close()) |
33 assert(f:close()) |
34 end |
34 end |
35 |
35 |
|
36 |
|
37 In order to generate consistent output from the lua tests, we need to |
|
38 remove the writing of a '.' to stderr (to show progress). |
|
39 |
|
40 This change will not be passed upstream. |
|
41 |
|
42 --- all.lua.orig 2015-01-16 07:15:53.098166988 -0800 |
|
43 +++ all.lua 2015-01-16 07:16:48.982837677 -0800 |
|
44 @@ -140,7 +140,7 @@ |
|
45 -- each time a table is collected, create a new one to be |
|
46 -- collected next cycle |
|
47 mt.__gc = function (o) |
|
48 - stderr:write'.' -- mark progress |
|
49 + -- stderr:write'.' -- mark progress |
|
50 -- assert(eph[o]() == o and next(eph) == o and next(eph, o) == nil) |
|
51 local n = setmetatable({}, mt) -- replicate object |
|
52 eph[n] = function () return n end |