[glib: 4/12] gio/tests/unix-fd: rename test




commit c4a7ddbf67d34d535a0147c80a1564c27120f7df
Author: Marc-André Lureau <marcandre lureau redhat com>
Date:   Thu Apr 7 16:17:49 2022 +0400

    gio/tests/unix-fd: rename test
    
    Use a prefix matching the binary, rename the test "scm", as it involves
    SocketControlMessage.
    
    Signed-off-by: Marc-André Lureau <marcandre lureau redhat com>

 gio/tests/unix-fd.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/tests/unix-fd.c b/gio/tests/unix-fd.c
index 4d984dfb32..b29ddca1f4 100644
--- a/gio/tests/unix-fd.c
+++ b/gio/tests/unix-fd.c
@@ -39,7 +39,7 @@ create_fd_list (gint *fd_list)
 }
 
 static void
-test_fds (void)
+test_scm (void)
 {
   GError *err = NULL;
   GUnixFDMessage *message;
@@ -235,7 +235,7 @@ main (int argc, char **argv)
 {
   g_test_init (&argc, &argv, NULL);
 
-  g_test_add_func ("/unix-streams/file-descriptors", test_fds);
+  g_test_add_func ("/unix-fd/scm", test_scm);
 
   return g_test_run();
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]