mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2025-12-20 09:10:07 +01:00
Merge branch 'misc-test' into 'master'
test: fix cleanup_test_socket_tempdir on Solaris See merge request dbus/dbus!480
This commit is contained in:
commit
b6a6b83bb5
1 changed files with 2 additions and 0 deletions
|
|
@ -726,6 +726,8 @@ static char test_socket_dir[] = DBUS_TEST_SOCKET_DIR "/dbus-test-XXXXXX";
|
|||
static void
|
||||
cleanup_test_socket_tempdir (void)
|
||||
{
|
||||
if (chdir ("/tmp") != 0)
|
||||
_dbus_test_fatal ("Failed to chdir() to /tmp");
|
||||
if (rmdir (test_socket_dir) != 0)
|
||||
_dbus_test_not_ok ("failed to remove test socket directory %s",
|
||||
test_socket_dir);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue