Merge pull request #178 from eplanet/ut_cpu_temp

Unit testing some new cases
This commit is contained in:
Michael Stapelberg 2016-11-15 09:27:44 -08:00 committed by GitHub
commit 7b63102b9d
8 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1 @@
T: 42 °C

View File

@ -0,0 +1,10 @@
general {
output_format = "none"
}
order = "cpu_temperature 0"
cpu_temperature 0 {
format = "T: %degrees °C"
path = "testcases/002-cpu-temp/temp1_input"
}

View File

@ -0,0 +1 @@
42000

View File

@ -0,0 +1 @@
EXISTING: yes | NONEXISTANT: no

View File

@ -0,0 +1,14 @@
general {
output_format = "none"
}
order += "path_exists EXISTING"
order += "path_exists NONEXISTANT"
path_exists EXISTING {
path = "testcases/003-path-exists"
}
path_exists NONEXISTANT {
path = "testcases/003-path-exists/nonexistant"
}

View File

@ -0,0 +1 @@