Added test case for run_watch
The valid test case assumes pid 1 exists, which should always be true on Unix environment.
This commit is contained in:
parent
243d08e1ad
commit
9c47240523
|
@ -0,0 +1 @@
|
|||
EXISTING: yes | NONEXISTANT: no
|
|
@ -0,0 +1,14 @@
|
|||
general {
|
||||
output_format = "none"
|
||||
}
|
||||
|
||||
order += "run_watch EXISTING"
|
||||
order += "run_watch NONEXISTANT"
|
||||
|
||||
run_watch EXISTING {
|
||||
pidfile = "testcases/004-run-watch/pidfile"
|
||||
}
|
||||
|
||||
run_watch NONEXISTANT {
|
||||
pidfile = "testcases/004-run-watch/notexistant"
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
1
|
Loading…
Reference in New Issue