Commit 9761dc3a authored by Ruslan Kuprieiev's avatar Ruslan Kuprieiev Committed by Pavel Emelyanov

test: crit: use decode/encode instead of convert

Signed-off-by: 's avatarRuslan Kuprieiev <kupruser@gmail.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 1a30e880
......@@ -16,9 +16,9 @@ do
fi
echo " -- to json"
../../crit convert -o "$x"".json" --format nice < $x || _exit $?
../../crit decode -o "$x"".json" --format nice < $x || _exit $?
echo " -- to img"
../../crit convert -i "$x"".json" > "$x"".json.img" || _exit $?
../../crit encode -i "$x"".json" > "$x"".json.img" || _exit $?
echo " -- cmp"
cmp $x "$x"".json.img" || _exit $?
......
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