Mercurial Hosting > luan
comparison scripts/test.luan @ 507:40e18d335da9
fix http/dump
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 21 May 2015 17:03:57 -0600 |
parents | 342964519194 |
children | 72610ddea6a7 |
comparison
equal
deleted
inserted
replaced
506:342964519194 | 507:40e18d335da9 |
---|---|
41 | 41 |
42 init() | 42 init() |
43 Http.request.parameter.cmd = "'ab'..'cd'" | 43 Http.request.parameter.cmd = "'ab'..'cd'" |
44 page = get_page "/shell" | 44 page = get_page "/shell" |
45 page.find "abcd" or error "failed" | 45 page.find "abcd" or error "failed" |
46 | |
47 init() | |
48 page = get_page "/dump" | |
46 | 49 |
47 | 50 |
48 -- lucene | 51 -- lucene |
49 | 52 |
50 local this_file = Io.schemes.file(Luan.arg[0]) | 53 local this_file = Io.schemes.file(Luan.arg[0]) |