3 # quickie tests to see if h2ph actually runs and does more or less what is
14 unless(-e '../utils/h2ph') {
15 print("ok 1\nok 2\n");
16 # i'll probably get in trouble for this :)
19 $ok = system("./perl -I../lib ../utils/h2ph -d. lib/h2ph.h");
20 print(($ok == 0 ? "" : "not "), "ok 1\n");
22 # does it work? well, does it do what we expect? :-)
23 $ok = compare("lib/h2ph.ph", "lib/h2ph.pht");
24 print(($ok == 0 ? "" : "not "), "ok 2\n");
26 # cleanup - should this be in an END block?
27 unlink("lib/h2ph.ph");