summaryrefslogtreecommitdiff
path: root/tests/testsuite/osis.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testsuite/osis.sh')
-rwxr-xr-xtests/testsuite/osis.sh26
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/testsuite/osis.sh b/tests/testsuite/osis.sh
new file mode 100755
index 0000000..689e64d
--- /dev/null
+++ b/tests/testsuite/osis.sh
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+rm -rf osis/
+mkdir -p osis/mods.d
+mkdir -p osis/modules
+
+cat > osis/mods.d/osisreference.conf <<!
+[OSISReference]
+DataPath=./modules/
+ModDrv=zText
+Encoding=UTF-8
+BlockType=BOOK
+CompressType=ZIP
+SourceType=OSIS
+Lang=en
+GlobalOptionFilter=OSISStrongs
+GlobalOptionFilter=OSISMorph
+GlobalOptionFilter=OSISFootnotes
+GlobalOptionFilter=OSISHeadings
+GlobalOptionFilter=OSISRedLetterWords
+Feature=StrongsNumbers
+!
+
+../../utilities/osis2mod osis/modules/ osisReference.xml -z 2>&1 | grep -v \$Rev
+
+cd osis && ../../osistest OSISReference