Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bd99bdfed7 |
1 changed files with 16 additions and 0 deletions
16
tests/kjv.sh
Executable file
16
tests/kjv.sh
Executable file
|
|
@ -0,0 +1,16 @@
|
|||
#!/bin/bash
|
||||
set -ex
|
||||
OPTS="--allow-internet-access-and-risk-tracing-and-jail-or-martyrdom"
|
||||
installmgr $OPTS -ri CrossWire KJV
|
||||
INSTALLED="$(diatheke -b system -k modulelist | grep KJV | wc -l)"
|
||||
if [ "x${INSTALLED}" != "x1" ]; then
|
||||
exit 1
|
||||
fi
|
||||
TEXT="$(diatheke -b KJV -f plain -k Jn.1.1)"
|
||||
EXPECTED="
|
||||
John 1:1: In the beginning was the Word, and the Word was with God, and the Word was God.
|
||||
(KJV)
|
||||
"
|
||||
if [ "x${TEXT}" != "x${DOC}" ]; then
|
||||
exit 1
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue