1
0
mirror of synced 2026-01-18 00:42:31 +00:00
steve b681b037c5 2006-01-07 23:23:12 by steve
Updated version number.  Updated tests to work with renamed hook.d
2006-01-07 23:23:12 +00:00

22 lines
350 B
Perl

#!/usr/bin/perl -w
#
# Test that all the hook files we install are executable.
#
# Steve
# --
# $Id: hooks.t,v 1.3 2006-01-07 23:23:12 steve Exp $
#
use strict;
use Test::More qw( no_plan );
foreach my $file ( glob( "etc/hook.d/*" ) )
{
if ( ! -d $file )
{
ok( -e $file, "$file" );
ok( -x $file, " File is executable: $file" );
}
}