diff options
| author | Philipp Janda <siffiejoe@gmx.net> | 2015-05-20 07:25:48 +0200 |
|---|---|---|
| committer | Philipp Janda <siffiejoe@gmx.net> | 2015-05-20 07:25:48 +0200 |
| commit | ba065189ae67822ac9c69cc6ba633e3e8e123ef6 (patch) | |
| tree | 8f064b13129834749ae72c03c15e46ab20adadc2 /tests/test.lua | |
| parent | ae91294546c2edc60e3349e909740f15c939f1af (diff) | |
| download | lua-compat-5.3-ba065189ae67822ac9c69cc6ba633e3e8e123ef6.tar.gz lua-compat-5.3-ba065189ae67822ac9c69cc6ba633e3e8e123ef6.tar.bz2 lua-compat-5.3-ba065189ae67822ac9c69cc6ba633e3e8e123ef6.zip | |
Add luaL_execresult to C API.
Diffstat (limited to 'tests/test.lua')
| -rwxr-xr-x | tests/test.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test.lua b/tests/test.lua index 856230b..f8fa894 100755 --- a/tests/test.lua +++ b/tests/test.lua | |||
| @@ -700,5 +700,10 @@ print(pcall(mod.tolstring, t)) | |||
| 700 | 700 | ||
| 701 | ___'' | 701 | ___'' |
| 702 | print(mod.buffer()) | 702 | print(mod.buffer()) |
| 703 | |||
| 704 | ___'' | ||
| 705 | print(mod.exec("exit 0")) | ||
| 706 | print(mod.exec("exit 1")) | ||
| 707 | print(mod.exec("exit 25")) | ||
| 703 | ___'' | 708 | ___'' |
| 704 | 709 | ||
