Commit fa2ad770 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

hoa: test DOS-style input

* src/tgbatest/hoaparse.test: Add test.
parent 0d59e55f
...@@ -429,6 +429,13 @@ input:7.15-23: aborted input automaton ...@@ -429,6 +429,13 @@ input:7.15-23: aborted input automaton
input:8.1-16.12: aborted input automaton input:8.1-16.12: aborted input automaton
EOF EOF
# DOS-style new lines should have the same output.
sed 's/$/\r/g' input > input.dos
mv input.dos input
../../bin/autfilt --hoa input 2>stderr && exit 1
cat stderr
diff stderr input.exp
cat >expected <<EOF cat >expected <<EOF
HOA: v1 HOA: v1
States: 2 States: 2
......
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