blib/lib/Linux/Slackware/SystemTests/system_tests/test_template.pl untested

filter: Statementstmt 0.0% 0 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod n/a totaltotal 0.0% 0 / 27 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 #!/usr/bin/perl
2  
3 use strict;
4 use warnings;
5 use Test::Most;
6 use File::Valet; # gives you file-slurping functions rd_f(), wr_f(), ap_f(), also find_bin() and some other things
7  
8 use lib "./lib";
9 use Linux::Slackware::SystemTests;
10  
11 my $st = Linux::Slackware::SystemTests->new();
12  
13 # Copy a module file to /tmp or wherever when you need a writable file:
14 # my ($ok, $target_file) = $st->init_work_file("example.txt");
15 # BAIL_OUT("init_work_file failed: $target_file") unless ($ok eq 'OK');
16  
17 # Put your tests here
18  
19 # unlink($target_file); # clean up any turds
20  
21 done_testing();
22 exit 0;