Merge Steve Murphy's (murf) complete re-implementation of AEL, which is now no longer...
[asterisk/asterisk.git] / pbx / ael / ael-test / runtests
1 #!/bin/bash
2
3 for i in ael-test*; do
4         echo -n Test: $i..................
5         (cd $i; ../../../../utils/aelparse -n -d | grep -v -i 'seconds' > ../res.$i)
6         if (diff -q res.$i ref.$i > /dev/null 2>&1 ) then
7                 echo PASSED
8                 rm res.$i
9         else
10                 echo %%%%%%FAILED%%%%%%
11                 diff -u ref.$i res.$i
12         fi
13
14 done