X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=webtest%2Fcds_test01.php;h=818344974e37083f2e13e4fc89ecade665b20736;hb=2338f1bebd53050610b91d6940d8d20760df02b7;hp=eeaa97c8a236b1be1918e08ff5983ae0a12f2bac;hpb=7b5e4084f27b054398e9da0250c166c16d4e8b6c;p=curl-de-sac.git diff --git a/webtest/cds_test01.php b/webtest/cds_test01.php index eeaa97c..8183449 100755 --- a/webtest/cds_test01.php +++ b/webtest/cds_test01.php @@ -4,7 +4,7 @@ define('WEB_URL', 'http://localhost/curl-de-sac'); define('DBG_LEVEL', 0); -require_once('Obj/curl-de-sac.phh'); +require_once('../Obj/curl-de-sac.phh'); class short_cmd extends CDS_cmd { var $short_data; @@ -196,7 +196,7 @@ function main() if ($i == 2) { printf("MAIN: load 'short'\n"); - if ($cds->execute("short", WEB_URL.'/short.php') == FALSE) { + if ($cds->execute("short", WEB_URL.'/test/short.php') == FALSE) { printf("MAIN: push 'short' command failed\n"); exit(123); } @@ -204,7 +204,7 @@ function main() if ($i == 3) { printf("MAIN: load 'short'\n"); - if ($cds->execute("short", WEB_URL.'/short.php') == FALSE) { + if ($cds->execute("short", WEB_URL.'/test/short.php') == FALSE) { printf("MAIN: push 'short' command failed\n"); exit(123); } @@ -212,7 +212,7 @@ function main() if ($i == 4) { printf("MAIN: load 'long'\n"); - if ($cds->execute("long", WEB_URL.'/long.php') == FALSE) { + if ($cds->execute("long", WEB_URL.'/test/long.php') == FALSE) { printf("MAIN: push 'long' command failed\n"); exit(123); }