Skip to content
Extraits de code Groupes Projets
Valider 2fc204ef rédigé par François De Keersmaeker's avatar François De Keersmaeker
Parcourir les fichiers

Replace - with _ in main script name

parent 1d1b117a
Branches master
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -4,8 +4,8 @@ EXITCODE=0 ...@@ -4,8 +4,8 @@ EXITCODE=0
for pcap in $GITHUB_WORKSPACE/traces/*.pcap for pcap in $GITHUB_WORKSPACE/traces/*.pcap
do do
# Run pcap-tweaker script on pcap file # Run pcap_tweaker script on pcap file
python3 $GITHUB_WORKSPACE/src/pcap-tweaker.py $pcap python3 $GITHUB_WORKSPACE/src/pcap_tweaker.py $pcap
# If the exit code is not 0, set EXITCODE to 1 # If the exit code is not 0, set EXITCODE to 1
if [[ $? -ne 0 ]] if [[ $? -ne 0 ]]
then then
......
...@@ -22,7 +22,7 @@ pip install -r requirements.txt ...@@ -22,7 +22,7 @@ pip install -r requirements.txt
## Usage ## Usage
```bash ```bash
python3 pcap-tweaker.py [-h] [-d] [-r RANDOM_RANGE] [-n PACKET_NUMBER] pcap [pcap ...] python3 pcap_tweaker.py [-h] [-d] [-r RANDOM_RANGE] [-n PACKET_NUMBER] pcap [pcap ...]
``` ```
The program produces new PCAP file with the same name as the input files, The program produces new PCAP file with the same name as the input files,
......
Fichier déplacé
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter