summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2022-09-17 00:49:54 +0800
committerruki <[email protected]>2022-09-17 00:49:54 +0800
commit0a1fcc353eb60d54903cc505b197a6c6063b3842 (patch)
tree18f40c04131b46ca9feb1e0d4fc0da2656781df3
parent5328e53c1c082a551ec5a32f7a2fb5cf349237ba (diff)
test exists
-rw-r--r--tests/modules/os/test.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/modules/os/test.lua b/tests/modules/os/test.lua
index b435807f2..d1609687a 100644
--- a/tests/modules/os/test.lua
+++ b/tests/modules/os/test.lua
@@ -81,6 +81,9 @@ function test_cp_symlink(t)
os.tryrm("dir")
os.tryrm("dir2")
os.tryrm("dir3")
+ t:require(not os.exists("test1"))
+ t:require(not os.exists("test2"))
+ t:require(not os.exists("dir"))
end
function test_setenv(t)