X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=webtest%2Fcds_test02.php;h=e5fc0928ce6db4cec442dc51b2d22cb3834941a2;hb=8a86b6d9576d8943c3ddaaaf34c4917b2442c13b;hp=bcbacbb9d38fd35d2a1ca8234ed50e1936293f99;hpb=02e0afd0784de2545461dae6e4db451a17155e96;p=curl-de-sac.git diff --git a/webtest/cds_test02.php b/webtest/cds_test02.php index bcbacbb..e5fc092 100755 --- a/webtest/cds_test02.php +++ b/webtest/cds_test02.php @@ -2,11 +2,17 @@ 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); } @@ -55,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); } @@ -63,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); }