Skip to content

Commit

Permalink
build fstab before filesystems
Browse files Browse the repository at this point in the history
  • Loading branch information
kwaegema committed Mar 6, 2017
1 parent d5382a9 commit 3510c22
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ncm-filesystems/src/test/perl/00-load.t
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ Basic test that ensures that our module will load correctly.

use strict;
use warnings;

BEGIN {
unshift(@INC, '../ncm-fstab/target/lib/perl');
}

use Test::More tests => 1;
use Test::Quattor;

Expand Down
2 changes: 2 additions & 0 deletions ncm-filesystems/src/test/perl/configure.t
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ use Readonly;
Readonly my $FSTAB => 'target/test/etc/fstab';

BEGIN{
unshift(@INC, '../ncm-fstab/target/lib/perl');

# This only works because the constant of NCM::Filesystem is used in a ncm-fstab sub
use Test::Quattor;
use NCM::Filesystem;
Expand Down
5 changes: 5 additions & 0 deletions ncm-filesystems/src/test/perl/configure_create.t
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ Tests for adding, changing and deleting entries in /etc/fstab and mounting
=cut

use strict;

BEGIN {
unshift(@INC, '../ncm-fstab/target/lib/perl');
}

use warnings;
use Readonly;
Readonly my $FSTAB => 'target/test/etc/fstab';
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
<module>ncm-directoryservices</module>
<module>ncm-etcservices</module>
<module>ncm-nagios</module>
<module>ncm-filesystems</module>
<module>ncm-hostsfile</module>
<module>ncm-ssh</module>
<module>ncm-download</module>
Expand All @@ -68,6 +67,7 @@
<module>ncm-mysql</module>
<module>ncm-ldconf</module>
<module>ncm-fstab</module>
<module>ncm-filesystems</module>
<module>ncm-syslogng</module>
<module>ncm-syslog</module>
<module>ncm-shorewall</module>
Expand Down

0 comments on commit 3510c22

Please sign in to comment.