[omd-commits] OMD Git: omd: Tests: distro test ignore CONFIG_SITE

git version control git at mathias-kettner.de
Mon Jul 16 08:38:21 CEST 2012


Module:   omd
Branch:   master
Commit:   99d97e6e87ebb55f904b6b5cf7e221116056e0a6
URL:      http://omdistro.org/projects/omd/repository/revisions/99d97e6e87ebb55f904b6b5cf7e221116056e0a6

Author:   Joerg Linge <pitchfork at pnp4nagios.org>
Date:     Mon Jul 16 08:37:22 2012 +0200
Commiter: Joerg Linge <pitchfork at pnp4nagios.org>
Date:     Mon Jul 16 08:37:22 2012 +0200

Tests: distro test ignore CONFIG_SITE

---

 t/03-distro-makefiles.t |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/t/03-distro-makefiles.t b/t/03-distro-makefiles.t
index 2a61dfc..e36fff8 100644
--- a/t/03-distro-makefiles.t
+++ b/t/03-distro-makefiles.t
@@ -29,6 +29,7 @@ for my $file (glob("distros/Makefile.*")) {
 for my $file (keys %{$all_confs}) {
     for my $key (keys %{$all_keys}) {
         next if $key eq 'ARCH'; # arch is debian specific
+        next if $key eq 'CONFIG_SITE'; # CONFIG_SITE is OpenSuSE specific
         ok(exists($all_confs->{$file}->{$key}), "$file: $key");
     }
 }



More information about the omd-commits mailing list