[cylc]
    [[reference test]]
        required run mode = live
        expected task failures = c.1
        live mode suite timeout=PT1M

[scheduling]
    [[dependencies]]
        graph = """a => b => c
                   c:fail => cleaner
                   cleaner => d"""
[runtime]
    [[a,b]]
        script = true
    [[c]]
        script = false
    [[d]]
    [[cleaner]]
        script = """
cylc remove "$CYLC_SUITE_NAME" 'c' '1'
cylc remove "$CYLC_SUITE_NAME" 'd' '1'
"""
