Changeset 163:b42982058cb2 for test
- Timestamp:
- 05/07/12 17:31:09 (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/test.sh
r89 r163 4 4 sim="${scriptdir}/../src/mlx/pyuipc_sim.py" 5 5 6 host="localhost" 7 if test $# -gt 1; then 8 host=$2 9 fi 10 6 11 oldIFS="${IFS}" 7 12 IFS=$'\n' 8 13 for line in `cat $1`; do 9 14 read -p "$line" 10 echo $line | python "${sim}" >/dev/null15 echo $line | python "${sim}" "${host}" >/dev/null 11 16 done 12 17 IFS="${oldIFS}"
Note:
See TracChangeset
for help on using the changeset viewer.