Skip to content
GitLab
Explorer
Connexion
S'inscrire
Navigation principale
Rechercher ou aller à…
Projet
P
project_TRTP
Gestion
Activité
Membres
Labels
Programmation
Tickets
Tableaux des tickets
Jalons
Wiki
Code
Requêtes de fusion
Dépôt
Branches
Validations
Étiquettes
Graphe du dépôt
Comparer les révisions
Extraits de code
Compilation
Pipelines
Jobs
Planifications de pipeline
Artéfacts
Déploiement
Releases
Registre de paquets
Registre de conteneur
Registre de modèles
Opération
Environnements
Modules Terraform
Surveillance
Incidents
Analyse
Données d'analyse des chaînes de valeur
Analyse des contributeurs
Données d'analyse CI/CD
Données d'analyse du dépôt
Expériences du modèle
Aide
Aide
Support
Documentation de GitLab
Comparer les forfaits GitLab
Forum de la communauté
Contribuer à GitLab
Donner votre avis
Conditions générales et politique de confidentialité
Raccourcis clavier
?
Extraits de code
Groupes
Projets
Afficher davantage de fils d'Ariane
Samuel de Meester de Ravestein
project_TRTP
Validations
af8c2646
Valider
af8c2646
rédigé
3 years ago
par
Samuel de Meester de Ravestein
Parcourir les fichiers
Options
Téléchargements
Correctifs
Plain Diff
cleaner ?
parent
613d8097
Aucune branche associée trouvée
Branches contenant la validation
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
Modifications
2
Masquer les modifications d'espaces
En ligne
Côte à côte
Affichage de
2 fichiers modifiés
tests/run_tests.sh
+19
-7
19 ajouts, 7 suppressions
tests/run_tests.sh
tests_files/long_message.txt
+5
-7
5 ajouts, 7 suppressions
tests_files/long_message.txt
avec
24 ajouts
et
14 suppressions
tests/run_tests.sh
+
19
−
7
Voir le fichier @
af8c2646
...
@@ -17,10 +17,22 @@ if [ -d ./unwanted_logs/ ]; then
...
@@ -17,10 +17,22 @@ if [ -d ./unwanted_logs/ ]; then
rm
-rdf
./unwanted_logs
rm
-rdf
./unwanted_logs
fi
fi
# We want our tests to always use valgrind
simple_test_files
=(
#echo -e "\nStarting simple tests ...\n"
'tests_files/greeting.txt'
#for FILENAME in "$TEST_FILES_DIR"/*
'tests_files/long_message.txt'
#do
'tests_files/smile.png'
'tests_files/thumbs-up-nod.gif'
)
advanced_test_files
=(
'tests_files/greeting.txt'
'tests_files/long_message.txt'
'tests_files/noice.gif'
)
# echo -e "\nStarting simple tests ...\n"
# for FILENAME in "${simple_test_files[@]}"
# do
# FILESIZE=$(stat -c%s "$FILENAME")
# FILESIZE=$(stat -c%s "$FILENAME")
# echo -e "${BROWN}Sending \"$FILENAME\" \t[$FILESIZE bytes] with Valgrind${NC}"
# echo -e "${BROWN}Sending \"$FILENAME\" \t[$FILESIZE bytes] with Valgrind${NC}"
# ./tests/simple_test.sh $FILENAME
# ./tests/simple_test.sh $FILENAME
...
@@ -30,13 +42,13 @@ fi
...
@@ -30,13 +42,13 @@ fi
# exit 0
# exit 0
# fi
# fi
#done
#
done
#echo -e "Finished Simple tests."
#
echo -e "Finished Simple tests."
if
[
-d
linksimulator/
]
;
then
if
[
-d
linksimulator/
]
;
then
echo
-e
"
\n
Starting advanced tests ...
\n
"
echo
-e
"
\n
Starting advanced tests ...
\n
"
# Now we ran the advanced tests
# Now we ran the advanced tests
for
FILENAME
in
"
$
TEST_FILES_DIR
"
/
*
for
FILENAME
in
"
$
{
advanced_test_files
[@]
}
"
do
do
FILESIZE
=
$(
stat
-c
%s
"
$FILENAME
"
)
FILESIZE
=
$(
stat
-c
%s
"
$FILENAME
"
)
echo
-e
"
\n
${
BROWN
}
Sending the file
\"
$FILENAME
\"
\t
[
$FILESIZE
bytes] with linksimulator and Valgrind
${
NC
}
"
echo
-e
"
\n
${
BROWN
}
Sending the file
\"
$FILENAME
\"
\t
[
$FILESIZE
bytes] with linksimulator and Valgrind
${
NC
}
"
...
...
Ce diff est replié.
Cliquez pour l'agrandir.
tests_files/long_message.txt
+
5
−
7
Voir le fichier @
af8c2646
...
@@ -6,14 +6,14 @@ ahead. So good luck have a nice day of testing and remember : Tough Times Never
...
@@ -6,14 +6,14 @@ ahead. So good luck have a nice day of testing and remember : Tough Times Never
PS: Drink a beer when you pass the test. Share your knowledge to others, computer
PS: Drink a beer when you pass the test. Share your knowledge to others, computer
science isn't a field for selfishness. If you want to switch to Law, Economy, some shit
science isn't a field for selfishness. If you want to switch to Law, Economy, some shit
Hi Vany I
love reading
from you. As you know I
'm
work
ing
sometime a bit late in the night.
Hi Vany I
'm pleased to read some news
from you. As you know I work sometime a bit late in the night.
In a few hour you'll
be
in the famous "Salle Intel" to be really productive as you are.
In a few hour you'll
show up
in the famous "Salle Intel" to be really productive as you are.
Best regards,
Best regards,
Samuel
Samuel
Sorry to be lazy but I'll past down what is above
Sorry to be lazy but I'll past down what is above
:')
Hello I'm a good friend, I've seen that you are writing a protocol named TRTP.
Hello I'm a good friend, I've seen that you are writing a protocol named TRTP.
How is it going ? Hard ? Good for you. See life is full of hard things just like your
How is it going ? Hard ? Good for you. See life is full of hard things just like your
...
@@ -23,9 +23,7 @@ ahead. So good luck have a nice day of testing and remember : Tough Times Never
...
@@ -23,9 +23,7 @@ ahead. So good luck have a nice day of testing and remember : Tough Times Never
PS: Drink a beer when you pass the test. Share your knowledge to others, computer
PS: Drink a beer when you pass the test. Share your knowledge to others, computer
science isn't a field for selfishness. If you want to switch to Law, Economy, some shit
science isn't a field for selfishness. If you want to switch to Law, Economy, some shit
Hi Vany I
love reading
from you. As you know I
'm
work
ing
sometime a bit late in the night.
Hi Vany I
'm pleased to read some news
from you. As you know I work sometime a bit late in the night.
In a few hour you'll
be
in the famous "Salle Intel" to be really productive as you are.
In a few hour you'll
show up
in the famous "Salle Intel" to be really productive as you are.
Best regards,
Best regards,
Samuel
Ce diff est replié.
Cliquez pour l'agrandir.
Aperçu
0%
Chargement en cours
Veuillez réessayer
ou
joindre un nouveau fichier
.
Annuler
You are about to add
0
people
to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Enregistrer le commentaire
Annuler
Veuillez vous
inscrire
ou vous
se connecter
pour commenter