git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
A few corrections to the testsuite to imrove the failure testing
[jquery.git]
/
build
/
test
/
data
/
name.php
diff --git
a/build/test/data/name.php
b/build/test/data/name.php
index
a287fc9
..
d73abc7
100644
(file)
--- a/
build/test/data/name.php
+++ b/
build/test/data/name.php
@@
-18,5
+18,11
@@
if($name == 'foo') {
echo "pan";
\r
die();
\r
}
\r
echo "pan";
\r
die();
\r
}
\r
-echo "ERROR";
\r
+$request = apache_request_headers();
\r
+$request = $request['X-Custom-Header'];
\r
+if(strlen($request) > 0) {
\r
+ echo $request;
\r
+ die();
\r
+}
\r
+echo 'ERROR <script type="text/javascript">ok( true, "name.php executed" );</script>';
\r
?>
\ No newline at end of file
?>
\ No newline at end of file