tests: rename temporary files
authorPekka Paalanen <ppaalanen@gmail.com>
Mon, 3 Dec 2012 14:58:25 +0000 (16:58 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 3 Dec 2012 15:11:26 +0000 (10:11 -0500)
This is libwayland, not weston, so call the temporary files
wayland-tests-*, not weston-tests-*.

This is a candidate for the stable branch.

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
tests/connection-test.c

index 45744a0..1ac88d2 100644 (file)
@@ -425,7 +425,7 @@ marshal_demarshal(struct marshal_data *data,
 TEST(connection_marshal_demarshal)
 {
        struct marshal_data data;
-       char f[] = "/tmp/weston-tests-XXXXXX";
+       char f[] = "/tmp/wayland-tests-XXXXXX";
 
        setup_marshal_data(&data);
 
@@ -478,7 +478,7 @@ TEST(connection_marshal_alot)
         * for both regular data an fds. */
 
        for (i = 0; i < 2000; i++) {
-               strcpy(f, "/tmp/weston-tests-XXXXXX");
+               strcpy(f, "/tmp/wayland-tests-XXXXXX");
                data.value.h = mkstemp(f);
                assert(data.value.h >= 0);
                unlink(f);