Kristyna Streitova
f837494b39
- Update to 10.0.20: https://mariadb.com/kb/en/mariadb/mariadb-10020-release-notes/ - Sync the package to git state, redoing initscripts to be more robust OBS-URL: https://build.opensuse.org/request/show/313689 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=174
18 lines
439 B
Perl
18 lines
439 B
Perl
#!/usr/bin/perl
|
|
#
|
|
# Test the SUSE mysql package using the MySQL testsuite
|
|
|
|
my $id = getpwnam("mysql") or die "can't find user \"mysql\": $!";
|
|
my $dir = "/usr/share/mysql-test/";
|
|
|
|
if ($< == 0) {
|
|
($<, $>) = ($id, $id);
|
|
if ($< != $id || $> != $id) {
|
|
die "can't switch to user mysql(id $id): $!";
|
|
}
|
|
}
|
|
|
|
chdir($dir) or die "can't cd to $dir: $!";
|
|
exec("./mysql-test-run.pl", "--big-test", @ARGV);
|
|
die "can't execute mysql-test-run.pl: $!";
|