Commit afca3472 authored by Christopher Hoskin's avatar Christopher Hoskin

Add Autopkgtest test

parent 19174165
...@@ -7,6 +7,7 @@ aspell-or (0.03-1-6) UNRELEASED; urgency=medium ...@@ -7,6 +7,7 @@ aspell-or (0.03-1-6) UNRELEASED; urgency=medium
* Update debian/copyright * Update debian/copyright
* Use secure URI for debian/watch * Use secure URI for debian/watch
* Bump Standards-Version from 3.9.3 to 4.3.0.2 (no change required) * Bump Standards-Version from 3.9.3 to 4.3.0.2 (no change required)
* Add Autopkgtest test
-- Christopher Hoskin <mans0954@debian.org> Sun, 10 Feb 2019 19:25:34 +0000 -- Christopher Hoskin <mans0954@debian.org> Sun, 10 Feb 2019 19:25:34 +0000
......
Tests: tex-test
\documentclass{article}
\begin{document}
ヘキ ヘキー ヘキーョセウセ ヘキーーツェ セョタ ェーソェテ箆、ェーソャーヘ、ヘ、分ーソャーヘ、ヘ、ィェーソャーヘ、ヘ、ヌェーソャヌカ ヘキ ヘキー ヘキーョセウセ ヘキーーツェ セョタ
\end{document}
#!/bin/bash
LANG=or
IFS=$'\n'
OUTPUT=`cat debian/tests/or.tex | aspell pipe -t -d or | tr '*' '+'`
let i=0
for line in $OUTPUT
do
let i++
echo "$i: $line"
if [ "$i" = 1 ]; then
[[ $line =~ ^\@\(#\) ]] || exit 1
elif [ "$i" = 7 ]; then
[[ $line =~ [#\&\?]\ .* ]] || exit 1
else
[[ $line =~ ^\+$ ]] || exit 1
fi
done
exit 0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment