X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=blobdiff_plain;f=t%2FZOOM-IRSpy.t;h=5847b0b2f77ab1c5a5ec903663498d8e6d367fbd;hp=daf415ffc542a93f249a4a28a3668f49bbcc9a06;hb=32416c64aa62a7dbec6e04a17bf1fc1610286a48;hpb=06864c9e99435d22aec6ab5328bfe6806e3df4d1 diff --git a/t/ZOOM-IRSpy.t b/t/ZOOM-IRSpy.t old mode 100644 new mode 100755 index daf415f..5847b0b --- a/t/ZOOM-IRSpy.t +++ b/t/ZOOM-IRSpy.t @@ -1,11 +1,17 @@ # change 'tests => 1' to 'tests => last_test_to_print'; -use Test::More tests => 3; - BEGIN { - use_ok('ZOOM::IRSpy'); + system( "zoomsh", "-e", "open localhost:8018", "quit" ); + if ($?) { + print "1..0 # skip no zebra running on localhost:8018\n"; + exit; + } } +use Test::More tests => 3; +use lib './lib'; +use_ok('ZOOM::IRSpy'); + # Insert your test code below, the Test::More module is use()ed here so read # its man page ( perldoc Test::More ) for help writing this test script.