You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/usr/bin/env lua
|
|
require "ex"
|
|
|
|
--print"os.sleep"
|
|
--os.sleep(2);
|
|
|
|
assert(os.setenv("foo", "42"))
|
|
print("expect foo= 42")
|
|
print("foo=", os.getenv("foo"))
|
|
assert(os.unsetenv("foo"))
|
|
print("expect foo= nil")
|
|
print("foo=", os.getenv("foo"))
|
|
|
|
|