1..2 # filename of this test-script: lib/t/filetest.t # dirname of this test-script: lib/t # testing a non existing file: lib/t/non-existing-file not ok 1 - this test should fail # Failed test 'this test should fail' # at lib/t/filetest.t line 19. # got: # expected: 1 # testing an existing file: lib/t/filetest.t ok 2 - this file should exist # Looks like you failed 1 test of 2.