Skip to content
Extraits de code Groupes Projets
Valider af8c2646 rédigé par Samuel de Meester de Ravestein's avatar Samuel de Meester de Ravestein
Parcourir les fichiers

cleaner ?

parent 613d8097
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -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 "\nStarting advanced tests ...\n" echo -e "\nStarting 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}"
......
...@@ -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 working 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 working 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
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