nom des fichiers plus lisibles malgre le chemin absolu
This commit is contained in:
@@ -259,17 +259,18 @@ cd $(dirname $0)
|
||||
for i in $LIST_FILES
|
||||
do
|
||||
filename=$i
|
||||
echo -e "\n"$B_YELLOW"test file : $i"$ENDCO
|
||||
echo -e "\n"$B_YELLOW"test file : ${filename##*/}"$ENDCO
|
||||
command_test=""
|
||||
LINE_NUMBER=0
|
||||
last_line_number=$(wc -l < $filename)
|
||||
UNIT_TEST=0
|
||||
SUCCESS_TEST=0
|
||||
# write name of file in log files
|
||||
echo -en $B_YELLOW "\n\n\nfile: $filename\n" $ENDCO >>$BASH_LOG
|
||||
echo -en $B_YELLOW "\n\n\nfile: $filename\n" $ENDCO >>$MINISHELL_LOG
|
||||
echo -en $B_YELLOW "\n\n\nfile: ${filename##*/}\n" $ENDCO >>$BASH_LOG
|
||||
echo -en $B_YELLOW "\n\n\nfile: ${filename##*/}\n" $ENDCO >>$MINISHELL_LOG
|
||||
read_commands
|
||||
print_results $i $SUCCESS_TEST $UNIT_TEST
|
||||
# '##' print from the right untill... '*/' s slash
|
||||
print_results ${filename##*/} $SUCCESS_TEST $UNIT_TEST
|
||||
done
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user