summaryrefslogtreecommitdiff
path: root/pbx/ael/ael-test/runtests
diff options
context:
space:
mode:
Diffstat (limited to 'pbx/ael/ael-test/runtests')
-rwxr-xr-xpbx/ael/ael-test/runtests14
1 files changed, 14 insertions, 0 deletions
diff --git a/pbx/ael/ael-test/runtests b/pbx/ael/ael-test/runtests
new file mode 100755
index 000000000..c0d148de4
--- /dev/null
+++ b/pbx/ael/ael-test/runtests
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+for i in ael-test*; do
+ echo -n Test: $i..................
+ (cd $i; ../../../../utils/aelparse -n -d | grep -v -i 'seconds' > ../res.$i)
+ if (diff -q res.$i ref.$i > /dev/null 2>&1 ) then
+ echo PASSED
+ rm res.$i
+ else
+ echo %%%%%%FAILED%%%%%%
+ diff -u ref.$i res.$i
+ fi
+
+done