scapy/test/import_tester

4 lines
178 B
Bash

#! /bin/bash
cd "$(dirname $0)/.."
find scapy -name '*.py' | sed -e 's#/#.#g' -e 's/\(\.__init__\)\?\.py$//' | while read a; do echo "######### $a"; python -c "import $a"; done