| 1 | # plxload testing |
| 2 | |
| 3 | # ------ pragmas |
| 4 | use strict; |
| 5 | use warnings; |
| 6 | use Test::More tests => 1; |
| 7 | |
| 8 | # ------ define variable |
| 9 | my $output = undef; # output from plxload |
| 10 | |
| 11 | # ------ add pmtools to PATH for testing, so we use the current pmtools |
| 12 | $ENV{"PATH"} = 'blib/script:' . $ENV{"PATH"}; |
| 13 | |
| 14 | eval { |
| 15 | $output = `bin/plxload bin/plxload 2>&1`; |
| 16 | }; |
| 17 | |
| 18 | is($output, "", "modules loaded"); |
| 19 | |
| 20 | # TODO: Add tests after I get plxload working again |
| 21 | #is($?, 0, "plxload runs"); |
| 22 | #like($output, qr/Tie.*Hash.pm/, "listed loaded modules"); |