d01 ex04 correction erreurs sur tests
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
#!/bin/bash
|
||||
cd $(dirname $0)
|
||||
source ./colors.sh
|
||||
mkdir -p test_log
|
||||
mkdir -p files_log
|
||||
make -C ../ &> /dev/null
|
||||
|
||||
EXECUTABLE="sed"
|
||||
FILES_LOG="files_log"
|
||||
LEAKS=""
|
||||
if [ $1 == "leaks" ] || [ $1 == "valgrind" ]
|
||||
then
|
||||
@@ -27,7 +28,9 @@ fi
|
||||
fi
|
||||
|
||||
if [ -f $TESTNAME ];then
|
||||
mv $TESTNAME $TESTNAME.replace ./test_log;fi
|
||||
mv $TESTNAME ./$FILES_LOG;fi
|
||||
if [ -f $TESTNAME.replace ];then
|
||||
mv $TESTNAME.replace ./$FILES_LOG;fi
|
||||
}
|
||||
|
||||
# TEST 1 ########################################
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
No more tears, my heart is dry
|
||||
I don't laugh and I don't cry
|
||||
I don't think about you all the time
|
||||
But when I do - I wonder why
|
||||
@@ -1,4 +0,0 @@
|
||||
No more tears, my heart is dry
|
||||
I don't laugh and I don't cry
|
||||
I don't think about you all the time
|
||||
But when I do - I wonder why
|
||||
@@ -1,4 +0,0 @@
|
||||
No more tears, my heart is dry
|
||||
I don't laugh and I don't cry
|
||||
I don't think about you all the time
|
||||
But when I do - I wonder why
|
||||
@@ -1,4 +0,0 @@
|
||||
No more tears, my heart is dry
|
||||
I don't laugh and I don't cry
|
||||
I don't think about you all the time
|
||||
But when I do - I wonder why
|
||||
@@ -1,4 +0,0 @@
|
||||
No more tears, my heart is dry
|
||||
I don't laugh and I don't cry
|
||||
I don't think about you all the time
|
||||
But when I do - I wonder why
|
||||
@@ -1,4 +0,0 @@
|
||||
No more ters, my hert is dry
|
||||
I don't lugh nd I don't cry
|
||||
I don't think bout you ll the time
|
||||
But when I do - I wonder why
|
||||
@@ -1 +0,0 @@
|
||||
test de mmdr foubar
|
||||
@@ -1 +0,0 @@
|
||||
test de m||| foubar
|
||||
@@ -1,2 +0,0 @@
|
||||
trouve ce mot toutouille
|
||||
et celui-la toutoutouille
|
||||
@@ -1,2 +0,0 @@
|
||||
trouve ce mot ||||||||||
|
||||
et celui-la tou||||||||||
|
||||
@@ -1,5 +0,0 @@
|
||||
ce fichier
|
||||
contient
|
||||
plusieurs lignes
|
||||
les unes au dessus des autres
|
||||
youhouuu ioieux
|
||||
@@ -1,5 +0,0 @@
|
||||
ce fich++r
|
||||
cont++nt
|
||||
plus++urs lignes
|
||||
les unes au dessus des autres
|
||||
youhouuu io++ux
|
||||
@@ -1,4 +0,0 @@
|
||||
No more tears, my heart is dry
|
||||
I don't laugh and I don't cry
|
||||
I don't think about you all the time
|
||||
But when I do - I wonder why
|
||||
@@ -1,4 +0,0 @@
|
||||
No more tears, my heart is doo
|
||||
oooooooolaugh and I don't coo
|
||||
oooooooothink about you all the time
|
||||
But when I do - I wonder why
|
||||
@@ -1 +0,0 @@
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
hello
|
||||
@@ -1 +0,0 @@
|
||||
....................................................;
|
||||
@@ -1 +0,0 @@
|
||||
++++++++++++++++++++++++++++++++++++++++++++++++++++;
|
||||
@@ -1,2 +0,0 @@
|
||||
...................................................;
|
||||
. . . . . . . . . . . . . . . . . . . . . . . . . .;
|
||||
@@ -1,2 +0,0 @@
|
||||
++++++++++++++++++++++++++++++++++++++++++++++++++.;
|
||||
. . . . . . . . . . . . . . . . . . . . . . . . . .;
|
||||
@@ -1,27 +0,0 @@
|
||||
No more tears, my heart is dry
|
||||
I don't laugh and I don't cry
|
||||
I don't think about you all the time
|
||||
But when I do - I wonder why
|
||||
|
||||
You have to go out of my door
|
||||
And leave just like you did before
|
||||
I know I said that I was sure
|
||||
But rich men can't imagine poor.
|
||||
|
||||
One day baby, we'll be old
|
||||
Oh baby, we'll be old
|
||||
And think of all the stories that we could have told
|
||||
|
||||
Little me and little you
|
||||
Kept doing all the things they do
|
||||
They never really think it through
|
||||
Like I can never think you're true
|
||||
|
||||
Here I go again - the blame
|
||||
The guilt, the pain, the hurt, the shame
|
||||
The founding fathers of our plane
|
||||
That's stuck in heavy clouds of rain.
|
||||
|
||||
One day baby, we'll be old
|
||||
Oh baby, we'll be old
|
||||
And think of all the stories that we could have told
|
||||
@@ -1,27 +0,0 @@
|
||||
No more tears, my heart is dry
|
||||
I do000 laugh and I do000 cry
|
||||
I do000 think about you all the time
|
||||
But when I do - I wonder why
|
||||
|
||||
You have to go out of my door
|
||||
And leave just like you did before
|
||||
I know I said that I was sure
|
||||
But rich men ca000 imagine poor.
|
||||
|
||||
One day baby, we'll be old
|
||||
Oh baby, we'll be old
|
||||
And think of all the stories that we could have told
|
||||
|
||||
Little me and little you
|
||||
Kept doing all the things they do
|
||||
They never really think it through
|
||||
Like I can never think you're true
|
||||
|
||||
Here I go again - the blame
|
||||
The guilt, the pain, the hurt, the shame
|
||||
The founding fathers of our plane
|
||||
That's stuck in heavy clouds of rain.
|
||||
|
||||
One day baby, we'll be old
|
||||
Oh baby, we'll be old
|
||||
And think of all the stories that we could have told
|
||||
@@ -1 +0,0 @@
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
hello
|
||||
@@ -1,4 +0,0 @@
|
||||
No more tears, my heart is dry
|
||||
I don't laugh and I don't cry
|
||||
I don't think about you all the time
|
||||
But when I do - I wonder why
|
||||
@@ -1,4 +0,0 @@
|
||||
No more tears, my heart is dry
|
||||
I don't laugh and I don't cry
|
||||
I don't think about you all the time
|
||||
But when I do - I wonder why
|
||||
@@ -1,4 +0,0 @@
|
||||
No more tears, my heart is dry
|
||||
I don't laugh and I don't cry
|
||||
I don't think about you all the time
|
||||
But when I do - I wonder why
|
||||
@@ -1,4 +0,0 @@
|
||||
No more ters, my hert is dry
|
||||
I don't lugh nd I don't cry
|
||||
I don't think bout you ll the time
|
||||
But when I do - I wonder why
|
||||
@@ -1,4 +0,0 @@
|
||||
No more tears, my heart is dry
|
||||
I don't laugh and I don't cry
|
||||
I don't think about you all the time
|
||||
But when I do - I wonder why
|
||||
@@ -1,4 +0,0 @@
|
||||
No more tears, my heart is dry
|
||||
I don't laugh and I don't cry
|
||||
I don't think about you all the time
|
||||
But when I do - I wonder why
|
||||
@@ -1,4 +0,0 @@
|
||||
No more tears, my heart is dry
|
||||
I don't laugh and I don't cry
|
||||
I don't think about you all the time
|
||||
But when I do - I wonder why
|
||||
@@ -1,5 +0,0 @@
|
||||
ce fichier
|
||||
contient
|
||||
plusieurs lignes
|
||||
les unes au dessus des autres
|
||||
youhouuu ioieux
|
||||
@@ -1,5 +0,0 @@
|
||||
ce fich++r
|
||||
cont++nt
|
||||
plus++urs lignes
|
||||
les unes au dessus des autres
|
||||
youhouuu io++ux
|
||||
@@ -1 +0,0 @@
|
||||
....................................................;
|
||||
@@ -1 +0,0 @@
|
||||
++++++++++++++++++++++++++++++++++++++++++++++++++++;
|
||||
@@ -1,2 +0,0 @@
|
||||
...................................................;
|
||||
. . . . . . . . . . . . . . . . . . . . . . . . . .;
|
||||
@@ -1,2 +0,0 @@
|
||||
++++++++++++++++++++++++++++++++++++++++++++++++++.;
|
||||
. . . . . . . . . . . . . . . . . . . . . . . . . .;
|
||||
@@ -1 +0,0 @@
|
||||
test de mmdr foubar
|
||||
@@ -1 +0,0 @@
|
||||
test de m||| foubar
|
||||
@@ -1,2 +0,0 @@
|
||||
trouve ce mot toutouille
|
||||
et celui-la toutoutouille
|
||||
@@ -1,2 +0,0 @@
|
||||
trouve ce mot ||||||||||
|
||||
et celui-la tou||||||||||
|
||||
@@ -1,27 +0,0 @@
|
||||
No more tears, my heart is dry
|
||||
I don't laugh and I don't cry
|
||||
I don't think about you all the time
|
||||
But when I do - I wonder why
|
||||
|
||||
You have to go out of my door
|
||||
And leave just like you did before
|
||||
I know I said that I was sure
|
||||
But rich men can't imagine poor.
|
||||
|
||||
One day baby, we'll be old
|
||||
Oh baby, we'll be old
|
||||
And think of all the stories that we could have told
|
||||
|
||||
Little me and little you
|
||||
Kept doing all the things they do
|
||||
They never really think it through
|
||||
Like I can never think you're true
|
||||
|
||||
Here I go again - the blame
|
||||
The guilt, the pain, the hurt, the shame
|
||||
The founding fathers of our plane
|
||||
That's stuck in heavy clouds of rain.
|
||||
|
||||
One day baby, we'll be old
|
||||
Oh baby, we'll be old
|
||||
And think of all the stories that we could have told
|
||||
@@ -1,27 +0,0 @@
|
||||
No more tears, my heart is dry
|
||||
I do000 laugh and I do000 cry
|
||||
I do000 think about you all the time
|
||||
But when I do - I wonder why
|
||||
|
||||
You have to go out of my door
|
||||
And leave just like you did before
|
||||
I know I said that I was sure
|
||||
But rich men ca000 imagine poor.
|
||||
|
||||
One day baby, we'll be old
|
||||
Oh baby, we'll be old
|
||||
And think of all the stories that we could have told
|
||||
|
||||
Little me and little you
|
||||
Kept doing all the things they do
|
||||
They never really think it through
|
||||
Like I can never think you're true
|
||||
|
||||
Here I go again - the blame
|
||||
The guilt, the pain, the hurt, the shame
|
||||
The founding fathers of our plane
|
||||
That's stuck in heavy clouds of rain.
|
||||
|
||||
One day baby, we'll be old
|
||||
Oh baby, we'll be old
|
||||
And think of all the stories that we could have told
|
||||
@@ -1,4 +0,0 @@
|
||||
No more tears, my heart is dry
|
||||
I don't laugh and I don't cry
|
||||
I don't think about you all the time
|
||||
But when I do - I wonder why
|
||||
@@ -1,4 +0,0 @@
|
||||
No more tears, my heart is doo
|
||||
oooooooolaugh and I don't coo
|
||||
oooooooothink about you all the time
|
||||
But when I do - I wonder why
|
||||
@@ -1,4 +0,0 @@
|
||||
No more tears, my heart is dry
|
||||
I don't laugh and I don't cry
|
||||
I don't think about you all the time
|
||||
But when I do - I wonder why
|
||||
@@ -1,4 +0,0 @@
|
||||
No more tears, my heart is dry
|
||||
I don't laugh and I don't cry
|
||||
I don't think about you all the time
|
||||
But when I do - I wonder why
|
||||
Reference in New Issue
Block a user