summaryrefslogtreecommitdiffstats
path: root/application/third_party/test-more-php/t/testertests_exit_fail_5.php
blob: 4b65967468a4e65183e533e7db836e919e11c4c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php

    $lib = isset($_SERVER['TESTLIB']) ? $_SERVER['TESTLIB'] : 'Test-Simple.php';
    require_once($lib);

    plan(7);
    $failures = 5;

    ok(1);
    for ($x=0;$x<$failures;$x++){
        ok(0);
    }
    ok(1);
?>