(output, errors)
| 45 | import tempfile |
| 46 | |
| 47 | def Check(output, errors): |
| 48 | failed = any([s.startswith('/system/bin/sh:') or s.startswith('ANDROID') |
| 49 | for s in output.split('\n')]) |
| 50 | return 1 if failed else 0 |
| 51 | |
| 52 | def Execute(cmdline): |
| 53 | (fd_out, outname) = tempfile.mkstemp() |