tests: get rid of some more shell
parent
026710cb28
commit
332d128651
@ -0,0 +1,13 @@
|
|||||||
|
#!/usr/bin/env python
|
||||||
|
# I produce text every 100ms, for testing mitogen.core.iter_read()
|
||||||
|
|
||||||
|
import sys
|
||||||
|
import time
|
||||||
|
|
||||||
|
|
||||||
|
i = 0
|
||||||
|
while True:
|
||||||
|
i += 1
|
||||||
|
sys.stdout.write(str(i))
|
||||||
|
sys.stdout.flush()
|
||||||
|
time.sleep(0.1)
|
@ -1,10 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
# I produce text every 100ms, for testing mitogen.core.iter_read()
|
|
||||||
|
|
||||||
i=0
|
|
||||||
|
|
||||||
while :; do
|
|
||||||
i=$(($i + 1))
|
|
||||||
echo "$i"
|
|
||||||
sleep 0.1
|
|
||||||
done
|
|
Loading…
Reference in New Issue