1
0
mirror of synced 2026-01-30 05:04:00 +00:00

2006-02-05 18:14:55 by steve

New test: Make sure role scripts are executable.
This commit is contained in:
steve
2006-02-05 18:14:55 +00:00
parent a1f51bf513
commit 5dabf3045a

21
tests/roles.t Normal file
View File

@@ -0,0 +1,21 @@
#!/usr/bin/perl -w
#
# Test that each of the role scripts is executable.
#
# Steve
# --
# $Id: roles.t,v 1.1 2006-02-05 18:14:55 steve Exp $
#
use strict;
use Test::More qw( no_plan );
foreach my $file ( glob( "etc/role.d/*" ) )
{
if ( ! -d $file )
{
ok( -e $file, "$file" );
ok( -x $file, " File is executable: $file" );
}
}