diff options
Diffstat (limited to 't/lib/h2ph.t')
-rwxr-xr-x | t/lib/h2ph.t | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/t/lib/h2ph.t b/t/lib/h2ph.t index 614c74d964..1fa7f63536 100755 --- a/t/lib/h2ph.t +++ b/t/lib/h2ph.t @@ -22,12 +22,7 @@ unless(-e '../utils/h2ph') { # i'll probably get in trouble for this :) } else { # does it run? - 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"); - } + $ok = system("./perl -I../lib ../utils/h2ph -d. -Q lib/h2ph.h"); print(($ok == 0 ? "" : "not "), "ok 1\n"); # does it work? well, does it do what we expect? :-) |