File:  [parser3project] / parser3 / tests / results / 171.processed
Revision 1.3: download - view: text, annotated - select for diffs - revision graph
Mon Jan 21 15:21:13 2008 UTC (18 years, 7 months ago) by misha
Branches: MAIN
CVS tags: release_3_3_0, release_3_2_3, HEAD
- more tests for file::exec/cgi

content-type: text/html
content-length: 1682

Get not existing file 'notfound.txt' without $.charset option (^file::exec[script;...]):
$f.status: !=0
$f.text: ''
$f.size: 0
$f.text.length: -


Get not existing file 'notfound.txt' without $.charset option (^file::exec[text;script;...]):
$f.status: !=0
$f.text: ''
$f.size: 0
$f.text.length: -


Get not existing file 'notfound.txt' without $.charset option (^file::cgi[text;script;...]):
$f.status: !=0
$f.text: 'тест
'
$f.size: 5
$f.text.length: 5
$f.CONTENT-TYPE: text/plain


Get not existing file 'notfound.gif' without $.charset option (^file::exec[binary;script;...]):
$f.status: !=0
$f.text: ''
$f.size: 0
$f.text.length: -


Get file '161_windows1251.txt' as text with additional text 'тест' in WINDOWS-1251 (^file::cgi[text;script;...]):
$f.status: ==0
$f.text: 'тест
проверка'
$f.size: 13
$f.text.length: 13
$f.CONTENT-TYPE: text/plain


Get file '161_utf8.txt' as text with additional text 'тест' in UTF-8 (^file::exec[text;script;...]):
$f.status: ==0
$f.text: 'тест
проверка'
$f.size: 13
$f.text.length: 13


Get file '019paf2001.gif' as binary without $.charset option (^file::cgi[binary;script;...]):
$f.status: ==0
$f.text: 'GIF89aр'
$f.size: 91968
$f.text.length: 7
$f.CONTENT-TYPE: image/gif


Get file '161_windows1251.txt' as text with additional text 'тест' without $.charset option (^file::exec[script;...]):
$f.status: ==0
$f.text: 'тест
проверка'
$f.size: 13
$f.text.length: 13


Get file '161_windows1251.txt' as text without $.charset option (^file::cgi[script;...]):
$f.status: ==0
$f.text: 'проверка'
$f.size: 8
$f.text.length: 8
$f.CONTENT-TYPE: text/plain


Calling cgi which don't get back CGI headers:
Variable is not a file, can't analyze it.



E-mail: