def test_not_match(command): assert not match(command)
def test_match(script, is_bsd, output): command = Command(script, output) assert match(command)
def test_match(output): command = Command('touch /a/b/c', output) assert match(command)
def test_match(stderr): command = Command('touch /a/b/c', stderr=stderr) assert match(command)
def test_match(stderr): command = Command( 'touch /a/b/c', stderr=stderr) assert match(command)