Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions unittest/examples/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA
Expand Down
2 changes: 1 addition & 1 deletion unittest/examples/no_plan-t.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2006, 2010, Oracle and/or its affiliates
/* Copyright (c) 2006, 2010, Oracle and/or its affiliates

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
1 change: 0 additions & 1 deletion unittest/examples/simple-t.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,3 @@ int main() {
ok(failed == 0, "Testing gcs()");
return exit_status();
}

6 changes: 3 additions & 3 deletions unittest/json_lib/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved.
#
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA
Expand Down
2 changes: 1 addition & 1 deletion unittest/json_lib/json_lib-t.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ test_path_parsing()
json_path_t p;
if (json_path_setup(&p, ci, s_e(p0)))
return;
ok(p.last_step - p.steps == 4 &&
ok(p.last_step - p.steps == 4 &&
p.steps[0].type == JSON_PATH_ARRAY_WILD &&
p.steps[1].type == JSON_PATH_KEY &&
p.steps[2].type == JSON_PATH_ARRAY && p.steps[2].n_item == 12 &&
Expand Down
6 changes: 3 additions & 3 deletions unittest/my_decimal/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved.
#
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA
Expand Down
7 changes: 3 additions & 4 deletions unittest/mysys/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved.
#
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA
Expand All @@ -25,4 +25,3 @@ MY_ADD_TESTS(ma_dyncol LINK_LIBRARIES mysys)
IF(WIN32)
MY_ADD_TESTS(my_delete LINK_LIBRARIES mysys)
ENDIF()

1 change: 0 additions & 1 deletion unittest/mysys/dynstring-t.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,3 @@ int main(void)

return exit_status();
}

1 change: 0 additions & 1 deletion unittest/mysys/lf-t.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,4 +196,3 @@ void do_tests()
lf_hash_destroy(&lf_hash);
lf_alloc_destroy(&lf_allocator);
}

9 changes: 4 additions & 5 deletions unittest/mysys/my_delete-t.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,17 @@ int main(int argc __attribute__((unused)),char *argv[])

/* Delete an open file */
ok(GetTempFileNameA(tmp_dir, "foo", 0, tmp_filename) != 0, "create temp file 2");
h = CreateFileA(tmp_filename, GENERIC_READ|GENERIC_WRITE,
h = CreateFileA(tmp_filename, GENERIC_READ|GENERIC_WRITE,
FILE_SHARE_DELETE, NULL, OPEN_EXISTING, 0, NULL);
ok (h != INVALID_HANDLE_VALUE || h != 0, "open temp file");
ok(my_delete(tmp_filename, MYF(0)) == 0, "Delete open file");


/*
Check if it is possible to reuse file name after delete (not all handles
/*
Check if it is possible to reuse file name after delete (not all handles
to it are closed.
*/
h2 = CreateFileA(tmp_filename, GENERIC_READ|GENERIC_WRITE,
h2 = CreateFileA(tmp_filename, GENERIC_READ|GENERIC_WRITE,
FILE_SHARE_DELETE, NULL, CREATE_NEW, FILE_FLAG_DELETE_ON_CLOSE, NULL);
ok(h2 != 0 && h2 != INVALID_HANDLE_VALUE, "Reuse file name");
CloseHandle(h);
Expand All @@ -54,4 +54,3 @@ int main(int argc __attribute__((unused)),char *argv[])
my_end(0);
return exit_status();
}

1 change: 0 additions & 1 deletion unittest/mysys/my_malloc-t.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,3 @@ int main(int argc __attribute__((unused)),char *argv[])
my_end(0);
return exit_status();
}

1 change: 0 additions & 1 deletion unittest/mysys/my_rdtsc-t.c
Original file line number Diff line number Diff line change
Expand Up @@ -227,4 +227,3 @@ int main(int argc __attribute__((unused)),

return 0;
}

1 change: 0 additions & 1 deletion unittest/mysys/my_vsnprintf-t.c
Original file line number Diff line number Diff line change
Expand Up @@ -211,4 +211,3 @@ int main(void)

return exit_status();
}

1 change: 0 additions & 1 deletion unittest/mysys/queues-t.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,3 @@ int main(int argc __attribute__((unused)), char *argv[])
my_end(0);
return exit_status();
}

1 change: 0 additions & 1 deletion unittest/mysys/thr_template.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,3 @@ int main(int argc __attribute__((unused)), char **argv)
my_end(0);
return exit_status();
}

1 change: 0 additions & 1 deletion unittest/mysys/waiting_threads-t.c
Original file line number Diff line number Diff line change
Expand Up @@ -283,4 +283,3 @@ void do_tests()
pthread_cond_destroy(&thread_sync);
DBUG_VOID_RETURN;
}

6 changes: 3 additions & 3 deletions unittest/mytap/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Copyright (c) 2007 MySQL AB, 2010 Oracle and/or its affiliates. All rights reserved.
#
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA
Expand Down
Loading