X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Frgit.git;a=blobdiff_plain;f=t%2Flib%2FApp%2FRgit%2FTestUtils.pm;fp=t%2Flib%2FApp%2FRgit%2FTestUtils.pm;h=321f96474b6972f69f65ec0b490a6931dabd95d1;hp=f702b25f57559b9eb43f60b7ee4cf5bc5da3a692;hb=517c579bda9717613f7faa9ffe41ef1648199e9b;hpb=20ecc90aa6c17a07fd1200d0bf72d5918e53e106 diff --git a/t/lib/App/Rgit/TestUtils.pm b/t/lib/App/Rgit/TestUtils.pm index f702b25..321f964 100644 --- a/t/lib/App/Rgit/TestUtils.pm +++ b/t/lib/App/Rgit/TestUtils.pm @@ -13,6 +13,7 @@ BEGIN { *WIFEXITED = sub { 1 } unless eval { WIFEXITED(0); 1 }; *WEXITSTATUS = sub { shift() >> 8 } unless eval { WEXITSTATUS(0); 1 }; *WIFSIGNALED = sub { shift() & 127 } unless eval { WIFSIGNALED(0); 1 }; + *WTERMSIG = sub { shift() & 127 } unless eval { WTERMSIG(0); 1 }; } use base qw/Exporter/;