diff options
author | Jan Wagner <waja@cyconet.org> | 2016-11-20 17:56:47 +0100 |
---|---|---|
committer | Jan Wagner <waja@cyconet.org> | 2016-11-20 20:38:41 +0100 |
commit | 6d0c1116317ed786971c67a325d67edce37bc746 (patch) | |
tree | 54568f2b77cc67940f2e37f63289dec876584d98 | |
parent | 6438fec7888ffca6d435abffd5283bcc1a9814b5 (diff) | |
download | monitoring-plugins-6d0c1116317ed786971c67a325d67edce37bc746.tar.gz |
Creating and mounting randisk to make use of check_disk tests
-rw-r--r-- | .travis.yml | 1 | ||||
-rw-r--r-- | plugins/t/NPTest.cache.travis | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index dcf13d58..fb8fbe7f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -45,6 +45,7 @@ before_script: - touch ~/.ssh/config - sudo rm -f /usr/share/mibs/ietf/SNMPv2-PDU /usr/share/mibs/ietf/IPSEC-SPD-MIB /usr/share/mibs/ietf/IPATM-IPMC-MIB /usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB - sudo mkdir -p /var/lib/snmp/mib_indexes + - sudo mkdir /media/ramdisk && sudo chmod 777 /media/ramdisk && sudo mount -t tmpfs -o size=20% none /media/ramdisk script: - if [ "$COVERITY_SCAN_BRANCH" != 1 ]; then make test; fi diff --git a/plugins/t/NPTest.cache.travis b/plugins/t/NPTest.cache.travis index 5d9c5ff7..bcec9855 100644 --- a/plugins/t/NPTest.cache.travis +++ b/plugins/t/NPTest.cache.travis @@ -26,7 +26,7 @@ 'NP_HOST_TCP_SMTP_TLS' => '', 'NP_INTERNET_ACCESS' => 'yes', 'NP_LDAP_BASE_DN' => 'cn=admin,dc=nodomain', - 'NP_MOUNTPOINT2_VALID' => '', + 'NP_MOUNTPOINT2_VALID' => '/media/ramdisk', 'NP_MOUNTPOINT_VALID' => '/', 'NP_MYSQL_SERVER' => 'localhost', 'NP_HOST_UDP_TIME' => 'localhost', |