« Auto-éditer un wikilivre/addappendix/reconstruction et tests du script addappendix » : différence entre les versions

Contenu supprimé Contenu ajouté
m →‎script addapendix.sh : WL:RD : * diverses retouches
m →‎script tests_addappendix.bash : WL:RD : * diverses retouches
Ligne 157 :
 
== script tests_addappendix.bash ==
<syntaxhighlight lang="bash">#!/bin/bash
#!/bin/bash
#H Header doc
#H -------------------------------
Ligne 188 ⟶ 187 :
echo -e "\033[1;033mtest addappendix.sh with param = https://fr.wikibooks.org/wiki/Wikilivres:Compilations/Faire_sa_fleur_de_sel\033[0m"
./addappendix.sh https://fr.wikibooks.org/wiki/Wikilivres:Compilations/Faire_sa_fleur_de_sel
</syntaxhighlight>
 
=== Résultat des tests ===
<pre>
<syntaxhighligh>
cardabela@jpl-W230SS:~/addappendix-211219/tests/addapendix$ ./tests_addapendix.bash
test addappendix.sh with first param empty
Ligne 222 :
Dowload https://fr.wikibooks.org/wiki/Wikilivres:Compilations/Faire_sa_fleur_de_sel
 
</pre>
</syntaxhighligh>
 
{{AutoCat}}