2016-03-12 10:08:18 +01:00
|
|
|
#!/usr/bin/env sh
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2018-07-31 08:41:55 +02:00
|
|
|
PYTHON=${1:-python}
|
|
|
|
|
2018-08-12 17:22:58 +02:00
|
|
|
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 \
|
2016-03-12 10:08:18 +01:00
|
|
|
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
|
2016-03-30 23:29:55 +02:00
|
|
|
case "${x}" in
|
2016-03-12 10:42:48 +01:00
|
|
|
*spoof*|*ipv6*)
|
2016-03-30 23:29:55 +02:00
|
|
|
echo "skipping ${x}"
|
2016-03-12 10:25:58 +01:00
|
|
|
continue
|
|
|
|
;;
|
|
|
|
*)
|
2018-07-31 08:41:55 +02:00
|
|
|
$PYTHON "${x}" | tail -50
|
2016-03-12 10:25:58 +01:00
|
|
|
;;
|
|
|
|
esac
|
2018-07-31 08:41:55 +02:00
|
|
|
done
|