Files
valgrind/auxprogs/posixtestsuite-1.5.1-diff-results
Julian Seward 8d4d7ccb0b A patch for the "Open POSIX Test Suite"
(http://posixtest.sourceforge.net) version 1.5.1, which makes it
possible to run the suite on V and conveniently compare results
against a native run (using the diff-results script).



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5982
2006-07-06 01:54:34 +00:00

22 lines
272 B
Bash
Executable File

#!/bin/sh
usage()
{
cat <<EOF
Usage: $0 result_file_1 result_file_2
EOF
}
if [ $# != 2 ]; then
usage;
exit 1;
else
echo $1 $2;
rm -f tmptmp_1 tmptmp_2;
grep -v GRIND= $1 > tmptmp_1;
grep -v GRIND= $2 > tmptmp_2;
diff -U2 tmptmp_1 tmptmp_2;
fi