X-Git-Url: https://mop.ddnsfree.com/gitweb/?p=curl-de-sac.git;a=blobdiff_plain;f=webtest%2Fcds_test02.php;h=e5fc0928ce6db4cec442dc51b2d22cb3834941a2;hp=5dec4b47d3670e13801749aca928fa13bee767c3;hb=2120f409b40bf2ccc21b132afde4bb1570181e9b;hpb=b248fce17bc2598406a52da26d80537b8f87f324 diff --git a/webtest/cds_test02.php b/webtest/cds_test02.php index 5dec4b4..e5fc092 100755 --- a/webtest/cds_test02.php +++ b/webtest/cds_test02.php @@ -2,11 +2,15 @@ execute("tor_chk", $brisk, 24, "caffe", "178.162.193.213") == FALSE) { + if ($cds->execute("tor_chk", $brisk, 24, "caffe", "178.162.193.213", TRUE) == FALSE) { printf("MAIN: push 'tor_chk' command failed\n"); exit(123); } @@ -57,7 +61,7 @@ function main() else if ($i == 4) { // Case Malformed output printf("MAIN: load 'tor_chk'\n"); - if ($cds->execute("tor_chk", $brisk, 24, "caffe", "178.162.193.214") == FALSE) { + if ($cds->execute("tor_chk", $brisk, 24, "caffe", "178.162.193.214", FALSE) == FALSE) { printf("MAIN: push 'tor_chk' command failed\n"); exit(123); } @@ -65,7 +69,7 @@ function main() else if ($i == 6) { // Case NO printf("MAIN: load 'tor_chk'\n"); - if ($cds->execute("tor_chk", $brisk, 24, "caffe", "178.162.193.215") == FALSE) { + if ($cds->execute("tor_chk", $brisk, 24, "caffe", "178.162.193.215", TRUE) == FALSE) { printf("MAIN: push 'tor_chk' command failed\n"); exit(123); }