Add extra test case

This commit is contained in:
pemontto
2019-04-12 11:44:04 +10:00
parent 8433055f17
commit 668efe2b7a

View File

@ -23,6 +23,8 @@ script:
# Test successful scan download and parsing # Test successful scan download and parsing
- rm -rf /tmp/VulnWhisperer - rm -rf /tmp/VulnWhisperer
- vuln_whisperer -c configs/test.ini --mock --mock_dir ${TEST_PATH} - vuln_whisperer -c configs/test.ini --mock --mock_dir ${TEST_PATH}
# Run a second time with no scans to import
- vuln_whisperer -c configs/test.ini --mock --mock_dir ${TEST_PATH}
# Test one failed scan # Test one failed scan
- rm -rf /tmp/VulnWhisperer - rm -rf /tmp/VulnWhisperer
- rm -f ${TEST_PATH}/nessus/GET_scans_exports_164_download - rm -f ${TEST_PATH}/nessus/GET_scans_exports_164_download