mirror of
				https://gitlab.freedesktop.org/wayland/wayland.git
				synced 2025-11-03 09:01:42 -05:00 
			
		
		
		
	tests: rename temporary files
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>
This commit is contained in:
		
							parent
							
								
									15625a5cc7
								
							
						
					
					
						commit
						8bcfa5ad70
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -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);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue