diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2022-12-20 13:24:43 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2022-12-20 13:24:43 -0300 |
| commit | 540d8052265776451bb9f0ab4dee4ec860563cbe (patch) | |
| tree | 697f573e601d7eb5f1b5fac4026e3f9505ae8ddb /testes/main.lua | |
| parent | 7d6a97e42bc3328b9c5ec1dabbd7e280e81c3efd (diff) | |
| download | lua-540d8052265776451bb9f0ab4dee4ec860563cbe.tar.gz lua-540d8052265776451bb9f0ab4dee4ec860563cbe.tar.bz2 lua-540d8052265776451bb9f0ab4dee4ec860563cbe.zip | |
Towards Lua 5.5
Diffstat (limited to 'testes/main.lua')
| -rw-r--r-- | testes/main.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testes/main.lua b/testes/main.lua index 9187420e..9c8be580 100644 --- a/testes/main.lua +++ b/testes/main.lua | |||
| @@ -134,7 +134,7 @@ RUN('env LUA_INIT= LUA_PATH=x lua %s > %s', prog, out) | |||
| 134 | checkout("x\n") | 134 | checkout("x\n") |
| 135 | 135 | ||
| 136 | -- test LUA_PATH_version | 136 | -- test LUA_PATH_version |
| 137 | RUN('env LUA_INIT= LUA_PATH_5_4=y LUA_PATH=x lua %s > %s', prog, out) | 137 | RUN('env LUA_INIT= LUA_PATH_5_5=y LUA_PATH=x lua %s > %s', prog, out) |
| 138 | checkout("y\n") | 138 | checkout("y\n") |
| 139 | 139 | ||
| 140 | -- test LUA_CPATH | 140 | -- test LUA_CPATH |
| @@ -143,7 +143,7 @@ RUN('env LUA_INIT= LUA_CPATH=xuxu lua %s > %s', prog, out) | |||
| 143 | checkout("xuxu\n") | 143 | checkout("xuxu\n") |
| 144 | 144 | ||
| 145 | -- test LUA_CPATH_version | 145 | -- test LUA_CPATH_version |
| 146 | RUN('env LUA_INIT= LUA_CPATH_5_4=yacc LUA_CPATH=x lua %s > %s', prog, out) | 146 | RUN('env LUA_INIT= LUA_CPATH_5_5=yacc LUA_CPATH=x lua %s > %s', prog, out) |
| 147 | checkout("yacc\n") | 147 | checkout("yacc\n") |
| 148 | 148 | ||
| 149 | -- test LUA_INIT (and its access to 'arg' table) | 149 | -- test LUA_INIT (and its access to 'arg' table) |
| @@ -153,7 +153,7 @@ checkout("3.2\n") | |||
| 153 | 153 | ||
| 154 | -- test LUA_INIT_version | 154 | -- test LUA_INIT_version |
| 155 | prepfile("print(X)") | 155 | prepfile("print(X)") |
| 156 | RUN('env LUA_INIT_5_4="X=10" LUA_INIT="X=3" lua %s > %s', prog, out) | 156 | RUN('env LUA_INIT_5_5="X=10" LUA_INIT="X=3" lua %s > %s', prog, out) |
| 157 | checkout("10\n") | 157 | checkout("10\n") |
| 158 | 158 | ||
| 159 | -- test LUA_INIT for files | 159 | -- test LUA_INIT for files |
