1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

* fix python test example

This commit is contained in:
Kaspar Schleiser 2010-09-28 17:24:53 +02:00
parent 0bae701f65
commit dd523fccd0

3
projects/hello-world/tests/hello-world.py Normal file → Executable file
View File

@ -1,8 +1,9 @@
#!/usr/bin/python
import pexpect
import os
import subprocess
child = pexpect.spawn ("board/msba2/tools/bin/pseudoterm %s" % os.environ["PORT"])
child = pexpect.spawn ("pseudoterm %s" % os.environ["PORT"])
null = open('/dev/null', 'wb')
subprocess.call(['jam', 'reset'], stdout=null)