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

(→‎script addapendix.sh : WL:RD : ! mise en page)
== script tests_addappendix.bash ==
<syntaxhighlight lang="bash">#!/bin/bash
#!/bin/bash
#H Header doc
#H -------------------------------
#P Programmers notes
#P -------------------------------
VERSION=220116220119
#P Before execute this tests, execute tests/preinstall-usr-local.bash to install datas directory in /usr/local
 
echo -e "\033[1;033mtest addappendix.sh with first param empty\033[0m"
echo "----"
 
echo -e "\033[1;033mtest addappendix.sh with first param = '--v'\033[0m"
./addappendix.sh --v
sleep 3
echo "----"