mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 02:51:03 +00:00
t: fixing skip
This commit is contained in:
parent
f42fdaa669
commit
878e733430
1 changed files with 4 additions and 2 deletions
2
t/test.t
2
t/test.t
|
@ -50,9 +50,11 @@ sub process_file {
|
||||||
use v5.10.1;
|
use v5.10.1;
|
||||||
|
|
||||||
if ( -r "$file.nocheck") {
|
if ( -r "$file.nocheck") {
|
||||||
|
SKIP: {
|
||||||
skip( sprintf("\nFile '%s' has a .nocheck flag. Ignoring\n", $file), 1);
|
skip( sprintf("\nFile '%s' has a .nocheck flag. Ignoring\n", $file), 1);
|
||||||
pass("Not pretending everything is ok");
|
pass("Not pretending everything is ok");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
elsif ( ! -x $file ) {
|
elsif ( ! -x $file ) {
|
||||||
# missing executable flag
|
# missing executable flag
|
||||||
diag(
|
diag(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue