Skip to contentSkip to conversation

nfsim-testsuite: don't fail if no loadable modules are found

PATCH In review KOVACS Krisztian 1 participant 1 message Nov 5, 2005 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 3/3 nfsim-testsuite: don't fail if no loadable modules are found

Hi,

The testsuite fails if no loadable modules are found (for example:
everything is compiled in statically). The attached patch tries to fix the testsuite for fully static configurations.

Signature · 2 lines
 Regards,
  Krisztian Kovacs

Don't fail if no loadable modules are found.

test-kernel-source +1 -1
Index: nfsim-testsuite/test-kernel-source
===================================================================
@@ -16,7 +16,7 @@
     mkdir $2
     cp simulator $2
     cp core/fakesockopt.so.1.0 $2
-    cp `find . -name *.so` $2
+    cp `find . -name *.so` $2 || true
 }
 
 # Simple check of cached nfsim: if any source file in nfsim newer, rebuild.