Other parts of the test framework such as mysql-test-run.pl are Perl scripts and should run on systems with Perl installed.
mysqltest uses the diff
program to compare expected and actual test results. If
diff is not found, mysqltest
writes an error message and dumps the entire contents of the
files so that you can try to determine why a test did not succeed.
If your system does not have diff, you may be
able to obtain it from one of these sites: