Skip to content

Commit

Permalink
fix the build on non Windows OSes
Browse files Browse the repository at this point in the history
  • Loading branch information
Gonéri Le Bouder authored and guillomovitch committed May 15, 2012
1 parent a01dddf commit 33c6596
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions t/tools/win32.t
Expand Up @@ -7,6 +7,11 @@ use English qw(-no_match_vars);

use Test::More;

BEGIN {
# use mock modules for non-available ones
push @INC, 't/fake/windows' if $OSNAME ne 'MSWin32';
}

use FusionInventory::Agent::Tools::Win32;

if ($OSNAME ne 'MSWin32') {
Expand Down

0 comments on commit 33c6596

Please sign in to comment.