- 22 Feb, 2016 1 commit
-
-
Michal 'vorner' Vaner authored
-
- 19 Feb, 2016 8 commits
-
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
New module for misc utilities, currently containing function to split text into lines and provide them as a set.
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
On some systems, the sort sorts differently, so we can't just have a constant. We convert it into a set, so the order does not matter.
-
Michal 'vorner' Vaner authored
Without any further parsing yet. With lot of TODOs.
-
- 17 Feb, 2016 1 commit
-
-
Michal 'vorner' Vaner authored
We'll need several temporary directories during the installation.
-
- 15 Feb, 2016 7 commits
-
-
Michal 'vorner' Vaner authored
Some more tests added, checking broken situations.
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
Also, import bunch of control & other files for testing for the three packages we have „installed“ in the test system.
-
Michal 'vorner' Vaner authored
Function to parse the whole DB of packages (still some more needs to be added, obviously ‒ we parse just /usr/lib/opkg/status now). Also, rename the previous functions to the proper noun_verb form.
-
Michal 'vorner' Vaner authored
Parse some of the fields there.
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
-
- 12 Feb, 2016 4 commits
-
-
Michal 'vorner' Vaner authored
And related fixes.
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
When the shell is killed, we don't want slee to keep open stdout, since it prevents the parent process from discovering EOF. Using empty busy loop instead.
-
- 10 Feb, 2016 3 commits
-
-
Michal 'vorner' Vaner authored
Still untested and missing it's friend events_wait.
-
Michal 'vorner' Vaner authored
By embedding part of lunit into a binary and bending the startup machinery to our needs. The original lunit launcher couldn't be used, because we include bunch of functions and modules directly into our interpreter (either from auto-loaded lua files or from C code).
-
Michal 'vorner' Vaner authored
Fill the result of loaded chunk into the package.loaded, so future require(name) works on such preloaded module. Make it work with module() in the code as well. Also, fix segfault when passing NULL as results parameter to interpreter_call.
-
- 09 Feb, 2016 1 commit
-
-
Michal 'vorner' Vaner authored
• Allow passing input and reading output of the command. • Modify the interface to allow binary IO as well as string based one (eg. provide length parameters, so \0 may be embedded in the data). • Tests for the IO.
-
- 08 Feb, 2016 3 commits
-
-
Michal 'vorner' Vaner authored
And a related bugfix.
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
This way we will be able to make it more consistent with other callbacks.
-
- 05 Feb, 2016 1 commit
-
-
Michal 'vorner' Vaner authored
• Add the logging functions to lua as well as C code. • Add few tests for the lua logging (to check the magic with generating functions). • Turn off logging in make check (they still may be run manually to get all the logging).
-
- 04 Feb, 2016 3 commits
-
-
Michal 'vorner' Vaner authored
• Replace the event_active call with separate event with 0 timeout. The original didn't seem to work. • Run multiple children in parallel to ensure the event loop can handle that as well. • Limit number of valgrind iterations (just to make it run faster).
-
Michal 'vorner' Vaner authored
Some tests failed with timeout. Make it larger as an attempt to verify if it is because of long running time or lockup.
-
Michal 'vorner' Vaner authored
-
- 03 Feb, 2016 4 commits
-
-
Michal 'vorner' Vaner authored
Provide an error handler. Also, store the auto-loaded "modules" to global space.
-
Michal 'vorner' Vaner authored
Implement the interpreter_collect_results functions; pass the tests.
-
Michal 'vorner' Vaner authored
Pass parameters given to interpreter_call to the actual lua function. Some more progress with the tests O:-).
-
Michal 'vorner' Vaner authored
But without the parameters. Tests still don't pass, but some get further.
-
- 02 Feb, 2016 2 commits
-
-
Michal 'vorner' Vaner authored
Provide declarations of functions to call lua functions from C conveniently. Also, make some tests about them. But as the implementation is just a dummy, they don't pass.
-
Michal 'vorner' Vaner authored
-
- 01 Feb, 2016 2 commits
-
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
• Remove some unnecessary cruft. • Prefix the test binaries with ctest-, so they don't clash with anything. • Make it work with more than one test binary.
-