]> scripts.mit.edu Git - wizard.git/blobdiff - tests/all.sh
Add CRLF/LF/CR merge resolution algoritm of AWESOME.
[wizard.git] / tests / all.sh
index 461f465ffeb04880adce8aa0d15b2f2c5d889342..964e559e61937605e2cf9388728dc2fa2e4a532b 100755 (executable)
@@ -1,4 +1,5 @@
 #!/bin/bash
+cd `dirname $0`
 bold="`tput -T${TERM:-dumb} bold`"
 red="`tput -T${TERM:-dumb} setf 4`"
 sgr0="`tput -T${TERM:-dumb} sgr0`"
@@ -7,7 +8,7 @@ if [ "$APP" == "" ]; then
     echo "Must specify application"
     exit 1
 fi
-for i in test-*-$1*.sh; do
+for i in $1-*-test.sh; do
     ./$i "$2"
     if [ $? -eq 0 ]
     then