aboutsummaryrefslogtreecommitdiff
path: root/testes/files.lua
diff options
context:
space:
mode:
Diffstat (limited to 'testes/files.lua')
-rw-r--r--testes/files.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/testes/files.lua b/testes/files.lua
index d4e327b7..7146ac7c 100644
--- a/testes/files.lua
+++ b/testes/files.lua
@@ -715,7 +715,7 @@ do
715end 715end
716 716
717 717
718if T and T.nonblock then 718if T and T.nonblock and not _port then
719 print("testing failed write") 719 print("testing failed write")
720 720
721 -- unable to write anything to /dev/full 721 -- unable to write anything to /dev/full
@@ -840,7 +840,7 @@ assert(os.date("!\0\0") == "\0\0")
840local x = string.rep("a", 10000) 840local x = string.rep("a", 10000)
841assert(os.date(x) == x) 841assert(os.date(x) == x)
842local t = os.time() 842local t = os.time()
843global D; D = os.date("*t", t) 843global D = os.date("*t", t)
844assert(os.date(string.rep("%d", 1000), t) == 844assert(os.date(string.rep("%d", 1000), t) ==
845 string.rep(os.date("%d", t), 1000)) 845 string.rep(os.date("%d", t), 1000))
846assert(os.date(string.rep("%", 200)) == string.rep("%", 100)) 846assert(os.date(string.rep("%", 200)) == string.rep("%", 100))