1
# -*- mode: python; coding:utf-8 -*-
9
a = Test('python -c "%s" > /dev/null' % python_loop,
10
shell=True, detach=True, timeout=3, expected=-9)
12
b = Test('true', delay=5)
13
b.pre += Not(TaskRunning(a))
15
c = Test('pgrep -f "python -c %s"' % python_loop,
16
shell=True, must_fail=True)