X-Git-Url: http://git.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=libs%2Fnixio%2FaxTLS%2Fwww%2Flua%2Ftest_fs.lua;fp=libs%2Fnixio%2FaxTLS%2Fwww%2Flua%2Ftest_fs.lua;h=0000000000000000000000000000000000000000;hp=566ed8b204b82ce8ab7f728d84ab1e71626d0968;hb=1bb4822dca6113f73e3bc89e2acf15935e6f8e92;hpb=9edd0e46c3f880727738ce8ca6ff1c8b85f99ef4 diff --git a/libs/nixio/axTLS/www/lua/test_fs.lua b/libs/nixio/axTLS/www/lua/test_fs.lua deleted file mode 100644 index 566ed8b204..0000000000 --- a/libs/nixio/axTLS/www/lua/test_fs.lua +++ /dev/null @@ -1,23 +0,0 @@ -function link_dir (dir, base) - local path = base.."/"..dir - local mode = lfs.attributes (path).mode - if mode == "directory" then - return string.format ('%s', - cgilua.mkurlpath ("test_fs.lua", { dir = path }), - dir) - else - return dir - end -end - -cgilua.htmlheader () -cgilua.put ("

Testing Filesystem library

\n") -cgilua.put ("\n") -cgilua.put ("\n") -local i = 0 -local dir = cgi.dir or "." -for file in lfs.dir (dir) do - i = i+1 - cgilua.put ("\n") -end -cgilua.put ("
Testing dir
"..i..""..link_dir(file, dir).."
\n")