[PATCH wayland] tests: rename temporary files
Pekka Paalanen
ppaalanen at gmail.com
Mon Dec 3 06:58:25 PST 2012
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 at gmail.com>
---
tests/connection-test.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/connection-test.c b/tests/connection-test.c
index 45744a0..1ac88d2 100644
--- a/tests/connection-test.c
+++ b/tests/connection-test.c
@@ -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);
--
1.7.8.6
More information about the wayland-devel
mailing list