github.com/n00py/Slackor@v0.0.0-20200610224921-d007fcea1740/impacket/tests/SMB_RPC/rundce.sh (about)

     1  #!/bin/bash
     2  separator='======================================================================'
     3  
     4  export PYTHONPATH=../../:$PYTHONPATH
     5  if [ $# -gt 0 ]
     6  then
     7  	# Only run coverage when called by tox
     8  	RUN="python -m coverage run --append --rcfile=../coveragerc "
     9  else
    10  	RUN=python
    11  fi
    12  
    13  python -V > /tmp/version
    14  
    15  $RUN test_rpcrt.py
    16  $RUN test_scmr.py
    17  $RUN test_epm.py
    18  $RUN test_samr.py
    19  $RUN test_wkst.py
    20  $RUN test_srvs.py
    21  $RUN test_lsad.py
    22  $RUN test_lsat.py
    23  $RUN test_rrp.py
    24  $RUN test_mgmt.py
    25  $RUN test_ndr.py
    26  $RUN test_drsuapi.py
    27  $RUN test_wmi.py
    28  $RUN test_dcomrt.py
    29  $RUN test_even6.py
    30  $RUN test_bkrp.py
    31  $RUN test_tsch.py
    32  $RUN test_dhcpm.py
    33  $RUN test_secretsdump.py
    34  $RUN test_nrpc.py
    35  $RUN test_rprn.py