]> git.sesse.net Git - xml-template/blobdiff - tests/test.sh
Add a new "attribute-empty" test.
[xml-template] / tests / test.sh
index 539dd5086102a77d0e0635497ea802395a5cfa74..b03a657dd8aa076fb9193e2eff06873cbb804934 100755 (executable)
@@ -1,7 +1,7 @@
 #! /bin/sh
 
 if [ -z "$TESTS" ]; then
-       TESTS="passthru simple clone include attribute attribute2"
+       TESTS="passthru simple clone include attribute attribute2 attribute-empty"
 fi
 if [ -z "$LANGUAGES" ]; then
        LANGUAGES="perl php python"
@@ -9,7 +9,7 @@ fi
 
 for L in $LANGUAGES; do
        for T in $TESTS; do
-               echo -n "Testing $L/$T... "
+               printf "%-30s" "Testing $L/$T..."
                TEMPFILE=$( tempfile )
 
                if [ "$L" = "perl" ]; then