This commit is contained in:
Thomas Levine 2012-10-04 07:32:33 -04:00
parent c21599318f
commit d0d4593ce8

10
urchin
View File

@ -1,5 +1,8 @@
#!/bin/sh #!/bin/sh
count_errors=0
count_passing=0
recurse() { recurse() {
potential_test="$1" potential_test="$1"
if [ -d "$potential_test" ] if [ -d "$potential_test" ]
@ -15,9 +18,12 @@ recurse() {
sh "$potential_test" sh "$potential_test"
if [ "$@" = '0' ] if [ "$@" = '0' ]
then then
echo . # Print a '.'
echo -n .
else else
echo F # Print a red 'F'
echo -ne '\033[31mF'
echo -ne "\033[0m"
fi fi
fi fi
} }