dbus/test
Colin Walters 45d53565bc Make dbus-uuidgen atomic
A Red Hat QA engineer hit in practice a race condition in dbus-uuidgen
where it could leave an empty file.

dbus-uuidgen (_dbus_create_uuid_file_exclusively) formerly created an
empty file in the path to the uuid, then filled it in.  At some point,
the internal libdbus _dbus_string_save_to_file became atomic on Unix
at least (doing the save to temp file, fsync(), rename() dance).

So _dbus_create_uuid_file_exclusively doesn't need to create the file
beforehand anymore.  However, it *does* need the file to be
world-readable, unlike all other consumers of
_dbus_string_save_to_file.  So add a "world_readable" argument.
2010-09-03 14:29:53 -04:00
..
data Cmake support for cross plattform usable test files. 2010-04-11 11:49:46 +02:00
name-test Port test-privserver to windows by using the TEST_LISTEN bus address. 2010-04-13 21:15:41 +02:00
.gitignore migrate from cvs to git (cvs2svn -> git-svnimport). 2007-09-13 11:13:40 -04:00
break-loader.c Make dbus-uuidgen atomic 2010-09-03 14:29:53 -04:00
decode-gcov.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
Makefile.am Applied patches from cygwin port. 2010-08-10 08:25:24 +02:00
shell-test.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
spawn-test.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
test-exit.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
test-names.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
test-segfault.c Make more signal and locale interface use conditional. 2010-03-22 17:28:55 +01:00
test-service.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
test-shell-service.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
test-sleep-forever.c fix warning, use Sleep, not _sleep on windows (cherry picked from commit ea36c743ad60a2dd5c6286571d1a475903519809) 2009-11-30 12:00:14 +01:00
test-utils.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
test-utils.h Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
unused-code-gc.py 2005-01-16 Havoc Pennington <hp@redhat.com> 2005-01-17 03:53:40 +00:00