Commit 8cd6e1c6 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz

* src/tgbatest/kv.test: Rewrite the sed command more portably.

parent 08175025
......@@ -50,5 +50,8 @@ check '"G1"U"GG" && "FF"'
../ltl2tgba -KV -R3 -RIS >out \
'G("P_1.p2" <-> (F"P_1.p3" & ("P_0.p3" | (X"P_1.CS" U "P_1.p2")))) U G"P_1.p2"'
x=`sed -n '/APre/{s/.*APrec=\[\([^]]*\)\].*/\1/p;q}' out | tr ' ' '\n' | wc -l`
x=`sed -n '/APrec/{
s/.*APrec=\[\([^]]*\)\].*/\1/p
q
}' out | tr ' ' '\n' | wc -l`
test "$x" = 4
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