xref: /aosp_15_r20/external/scapy/test/import_tester (revision 7dc08ffc4802948ccbc861daaf1e81c405c2c4bd)
1*7dc08ffcSJunyu Lai#! /bin/bash
2*7dc08ffcSJunyu Laicd "$(dirname $0)/.."
3*7dc08ffcSJunyu Laifind scapy -name '*.py' | sed -e 's#/#.#g' -e 's/\(\.__init__\)\?\.py$//'  | while read a; do echo "######### $a"; python -c "import $a"; done
4