diff options
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 |