1
0
mirror of synced 2026-02-01 05:52:01 +00:00
Files
xen-tools.xen-tools/tests/hooks.t
steve 6a5c1ac1f7 2006-01-02 13:59:13 by steve
Updated header to include revision marker.
2006-01-02 13:59:13 +00:00

22 lines
362 B
Perl

#!/usr/bin/perl -w
#
# Test that all the hook files we install are executable.
#
# Steve
# --
# $Id: hooks.t,v 1.2 2006-01-02 13:59:13 steve Exp $
#
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" );
}
}