package Cpanel::Easy::Test::Foo;

# cpanel10 - Cpanel/Easy/Test/5/Foo.pm       Copyright(c) 2005-2007 cPanel, Inc.
#                                                           All rights Reserved.
# copyright@cpanel.net                                         http://cpanel.net
# This code is subject to the cpanel license. Unauthorized copying is prohibited

my $name = 'foo bot';
our $easyconfig = {
    'step' => {
        '2' => {
            'name'    => 'optlib path test' . $name,
            'command' => sub {
                my ($self) = @_;

                my ( $xml2, @text ) = $self->get_path_installed('Cpanel::Easy::OptLib::libxml2');
                $self->{'__'}{'libxml2_path'} = $xml2 if $xml2;

                return ( $xml2, @text );
            },
        },
        '3' => {
            'name'    => 'v 5 specials ' . $name,
            'command' => sub {
                my ($self) = @_;
                for ( 1 .. 10000 ) {
                    $self->print_verbose_aware("Count $_");
                }
                return ( 1, 'ok' );
            },
        },
    },
};

1;
