Skip to content
Snippets Groups Projects
Commit 8fd26412 authored by Petr Rockai's avatar Petr Rockai
Browse files

test: Convert a couple of shell-based testcases to use divcheck.

parent 2d1629e5
No related branches found
No related tags found
No related merge requests found
......@@ -41,5 +41,5 @@ if ! [ -s a.out ] || ! objdump -h a.out | grep .llvmbc; # spawns executable w/
then false;
fi
divine verify a.out | tee verify.out
check verify prog.c
{ echo expect --result error --location prog.c:6 ; echo verify a.out ; } > script
divcheck script
......@@ -21,7 +21,8 @@ fi
./gnu
divine check gnu
{ echo "expect --result valid" ; echo "check gnu" ; } > script
divcheck script
divine exec --virtual gnu | grep "No such process"
......@@ -46,5 +47,6 @@ fi
./nognu
divine check nognu
{ echo "expect --result valid" ; echo "check nognu" ; } > script
divcheck script
divine exec --virtual nognu | grep "No such process"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment