File: include_dir_error.t

package info (click to toggle)
libapache-asp-perl 2.62-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 4,108 kB
  • ctags: 830
  • sloc: perl: 6,033; php: 417; sh: 65; lisp: 22; makefile: 10
file content (15 lines) | stat: -rw-r--r-- 255 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use Apache::ASP::CGI;
use strict;

&Apache::ASP::CGI::do_self(NoState => 1);

__END__
<% 
eval { $Response->TrapInclude('.'); };
$t->eok($@, "should be error");

eval { $Response->TrapInclude('include.inc'); };
$t->eok(! $@, "should not be error");

%>