tests: test-gendoc.t checks if anything was translated
This would triggered when the variable would be set wrong again.
--- a/tests/test-gendoc.t Fri Oct 18 18:49:45 2013 +0200
+++ b/tests/test-gendoc.t Fri Oct 18 18:56:52 2013 +0200
@@ -11,6 +11,10 @@
> echo "" >> gendoc-$LOCALE.txt
> LANGUAGE=$LOCALE python "$TESTDIR/../doc/gendoc.py" >> gendoc-$LOCALE.txt 2> /dev/null || exit
>
+ > if [ $LOCALE != C ]; then
+ > cmp -s gendoc-C.txt gendoc-$LOCALE.txt && echo '** NOTHING TRANSLATED **'
+ > fi
+ >
> # We call runrst without adding "--halt warning" to make it report
> # all errors instead of stopping on the first one.
> echo "checking for parse errors"