/[Intel-AMT]/trunk/t/RemoteControl.t
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /trunk/t/RemoteControl.t

Parent Directory Parent Directory | Revision Log Revision Log


Revision 15 - (show annotations)
Sun Aug 9 18:22:16 2009 UTC (14 years, 8 months ago) by dpavlin
File MIME type: application/x-troff
File size: 484 byte(s)
0 power state is valid
1 #!/usr/bin/perl -T
2
3 use Test::More tests => 3;
4 use Data::Dump qw/dump/;
5
6 use lib 'lib';
7
8 BEGIN {
9 use_ok( 'Intel::AMT::RemoteControl' );
10 }
11
12 ok( my $capabilities = Intel::AMT::RemoteControl::Capabilities, 'Capabilities' );
13 diag dump( $capabilities );
14
15 my $power = Intel::AMT::RemoteControl::SystemPowerState
16 ok( defined $power, 'SystemPowerState' );
17 diag 'power ',$power;
18
19 #ok( Intel::AMT::RemoteControl::run( $_ ), $_ ) foreach ( 'PowerUp', 'Reset', 'PowerCycleReset', 'PowerDown' );

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26