#!/usr/bin/env sh set -e PYTHON=${1:-python} for x in examples/hlapi/v3arch/asyncore/sync/manager/cmdgen/*.py \ examples/hlapi/v3arch/asyncore/sync/agent/ntforg/*.py \ examples/hlapi/v3arch/asyncore/manager/cmdgen/*.py \ examples/hlapi/v3arch/asyncore/agent/ntforg/*.py \ examples/hlapi/v1arch/asyncore/sync/manager/cmdgen/*.py \ examples/hlapi/v1arch/asyncore/sync/agent/ntforg/*.py \ examples/hlapi/v1arch/asyncore/manager/cmdgen/*.py \ examples/hlapi/v1arch/asyncore/agent/ntforg/*.py \ examples/v3arch/asyncore/manager/cmdgen/*.py \ examples/v3arch/asyncore/agent/ntforg/*.py \ examples/v1arch/asyncore/manager/cmdgen/*.py \ examples/v1arch/asyncore/agent/ntforg/*.py \ examples/smi/manager/*py \ examples/smi/agent/*.py do case "${x}" in *spoof*|*ipv6*) echo "skipping ${x}" continue ;; *) $PYTHON "${x}" | tail -50 ;; esac done