[Fuego] [PATCH 06/11] vuls: fix path during test_build

Daniel Sangorrin daniel.sangorrin at toshiba.co.jp
Wed Dec 27 06:32:50 UTC 2017


This was working by chance.

Signed-off-by: Daniel Sangorrin <daniel.sangorrin at toshiba.co.jp>
---
 engine/tests/Benchmark.vuls/fuego_test.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/engine/tests/Benchmark.vuls/fuego_test.sh b/engine/tests/Benchmark.vuls/fuego_test.sh
index 8a434f1..13f05ed 100644
--- a/engine/tests/Benchmark.vuls/fuego_test.sh
+++ b/engine/tests/Benchmark.vuls/fuego_test.sh
@@ -61,6 +61,9 @@ function test_build {
         make install
     fi
 
+    # Share the database creation on a common directory
+    cd $GOPATH/src/github.com/future-architect/vuls
+
     # Fetch vulnerability data from NVD and OVAL data
     if [ -n "${http_proxy}" ]; then
         for i in `seq 2002 $(date +"%Y")`; do
-- 
2.7.4




More information about the Fuego mailing list