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: | |||
45 | - touch ~/.ssh/config | 45 | - touch ~/.ssh/config |
46 | - 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 | 46 | - 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 |
47 | - sudo mkdir -p /var/lib/snmp/mib_indexes | 47 | - sudo mkdir -p /var/lib/snmp/mib_indexes |
48 | - sudo mkdir /media/ramdisk && sudo chmod 777 /media/ramdisk && sudo mount -t tmpfs -o size=20% none /media/ramdisk | ||
48 | 49 | ||
49 | script: | 50 | script: |
50 | - if [ "$COVERITY_SCAN_BRANCH" != 1 ]; then make test; fi | 51 | - 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 @@ | |||
26 | 'NP_HOST_TCP_SMTP_TLS' => '', | 26 | 'NP_HOST_TCP_SMTP_TLS' => '', |
27 | 'NP_INTERNET_ACCESS' => 'yes', | 27 | 'NP_INTERNET_ACCESS' => 'yes', |
28 | 'NP_LDAP_BASE_DN' => 'cn=admin,dc=nodomain', | 28 | 'NP_LDAP_BASE_DN' => 'cn=admin,dc=nodomain', |
29 | 'NP_MOUNTPOINT2_VALID' => '', | 29 | 'NP_MOUNTPOINT2_VALID' => '/media/ramdisk', |
30 | 'NP_MOUNTPOINT_VALID' => '/', | 30 | 'NP_MOUNTPOINT_VALID' => '/', |
31 | 'NP_MYSQL_SERVER' => 'localhost', | 31 | 'NP_MYSQL_SERVER' => 'localhost', |
32 | 'NP_HOST_UDP_TIME' => 'localhost', | 32 | 'NP_HOST_UDP_TIME' => 'localhost', |