X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2Fh2ph.t;h=614c74d96411235abcf908600e5949b586067e19;hb=1289a8b80f063d20e88094098a0275f4681d9f97;hp=17d5509085eb74d076358d31fa2ce11b53a08039;hpb=13bc20ff1c1c1ed66d854591abb2409e14aff8a1;p=p5sagit%2Fp5-mst-13.2.git diff --git a/t/lib/h2ph.t b/t/lib/h2ph.t index 17d5509..614c74d 100755 --- a/t/lib/h2ph.t +++ b/t/lib/h2ph.t @@ -22,7 +22,12 @@ unless(-e '../utils/h2ph') { # i'll probably get in trouble for this :) } else { # does it run? - $ok = system("./perl -I../lib ../utils/h2ph -d. lib/h2ph.h"); + if ($^O ne 'dos') { + $ok = system("./perl -I../lib ../utils/h2ph -d. lib/h2ph.h"); + } else { + # h2ph prints some info which confuses t/TEST on dos/djgpp + $ok = system("./perl -I../lib ../utils/h2ph -d. lib/h2ph.h >nul"); + } print(($ok == 0 ? "" : "not "), "ok 1\n"); # does it work? well, does it do what we expect? :-)