The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
# please insert nothing before this line: -*- mode: cperl; cperl-indent-level: 4; cperl-continued-statement-offset: 4; indent-tabs-mode: nil -*-
package TestAPRlib::status;

# Testing APR::Status

use strict;
use warnings FATAL => 'all';

use Apache::Test;
use Apache::TestUtil;

use APR::Const -compile => qw(EAGAIN ENOPOLL);
use APR::Status ();

sub num_of_tests {
    return 2;
}

sub test {
    ok APR::Status::is_EAGAIN(APR::Const::EAGAIN);
    ok ! APR::Status::is_EAGAIN(APR::Const::ENOPOLL);
}

1;