Commit 38c92e6d authored by Per Cederqvist's avatar Per Cederqvist
Browse files

The number of free inodes can be reported as a float.

parent bfecaf65
......@@ -93,13 +93,13 @@ set cspid [spawn ../checkkomspace -d config/lyskomd-config]
set test "diskspace report"
expect {
-re "Diskspace OK: $any_float MB \\($any_float%\\) and $any_num inodes \\($any_float%\\) free$nl" {
-re "Diskspace OK: $any_float MB \\($any_float%\\) and $any_float inodes \\($any_float%\\) free$nl" {
pass "$test (diskspace OK)$nl"
}
-re "Diskspace error: $any_float MB \\($any_float%\\) and $any_num inodes \\($any_float%\\) free$nl" {
-re "Diskspace error: $any_float MB \\($any_float%\\) and $any_float inodes \\($any_float%\\) free$nl" {
pass "$test (diskspace error reported)"
}
-re "Diskspace warning: $any_float MB \\($any_float%\\) and $any_num inodes \\($any_float%\\) free$nl" {
-re "Diskspace warning: $any_float MB \\($any_float%\\) and $any_float inodes \\($any_float%\\) free$nl" {
pass "$test (diskspace warning reported)"
}
timeout {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment