FreeBSD regtest: add fakes for FreeBSD < 13
[valgrind.git] / auxprogs / posixtestsuite-1.5.1-diff-results
bloba7aada721361b4da150809ad6a93e9a7e9caa8a3
1 #!/bin/sh
3 usage()
5 cat <<EOF
7 Usage: $0 result_file_1 result_file_2
9 EOF
12 if [ $# != 2 ]; then
13 usage;
14 exit 1;
15 else
16 echo $1 $2;
17 rm -f tmptmp_1 tmptmp_2;
18 grep -v GRIND= $1 > tmptmp_1;
19 grep -v GRIND= $2 > tmptmp_2;
20 diff -U2 tmptmp_1 tmptmp_2;