1
0
mirror of synced 2026-01-26 11:42:00 +00:00
Files
xen-tools.xen-tools/tests/hooks.t
steve abb2656fe5 2005-12-24 19:10:38 by steve
Added to the repository, make sure hooks are executable.
2005-12-24 19:10:38 +00:00

19 lines
296 B
Perl

#!/usr/bin/perl -w
#
# Test that all the hook files we install are executable.
#
#
use strict;
use Test::More qw( no_plan );
foreach my $file ( glob( "etc/xen-create-image.d/*" ) )
{
if ( ! -d $file )
{
ok( -e $file, "$file" );
ok( -x $file, " File is executable: $file" );
}
}