1
0
mirror of synced 2026-01-20 09:34:58 +00:00
steve 5dabf3045a 2006-02-05 18:14:55 by steve
New test: Make sure role scripts are executable.
2006-02-05 18:14:55 +00:00

22 lines
344 B
Perl

#!/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" );
}
}