* updated blueman (2.3.5 -> 2.4.3)
[t2sde.git] / misc / luabash / posix / test.lua
blob62c1ef5949287c680538281fe047daafaf1c5b1e
1 -- test posix library
3 require ("posix")
5 ox=posix
7 -- code for the new md5sums file ...
9 local stat = ox.stat("/dev/fd")
10 if stat.type == "link" then
11 print ("/dev/fd is a symlink.")
12 print ("^--> "..ox.readlink("/dev/fd"))
13 end
15 stat = ox.stat("test.lua")
16 print ("test.lua size: "..stat.size)
18 print""
19 print(ox.version)