mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 15:50:51 +03:00 
			
		
		
		
	Improve test for shm on windows mysql-test/include/windows.inc: improve "skip message" and don't require a result file mysql-test/r/shm.result: Update result after adding more tests mysql-test/t/shm-master.opt: Add $MTR_BUILD_THREAD to get a unique shared memory base name mysql-test/t/shm.test: Run a bunch of more test to check shm mysql-test/r/named_pipe.result: New BitKeeper file ``mysql-test/r/named_pipe.result'' mysql-test/t/named_pipe-master.opt: New BitKeeper file ``mysql-test/t/named_pipe-master.opt'' mysql-test/t/named_pipe.test: New BitKeeper file ``mysql-test/t/named_pipe.test''
		
			
				
	
	
		
			20 lines
		
	
	
		
			701 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			701 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # We currently only have shm support on windows, so in order
 | |
| # to optimize things we skip this test on all other platforms
 | |
| --source include/windows.inc
 | |
| 
 | |
| # Only run this test if shared memory is avaliable
 | |
| let $shm= query_get_value("SHOW VARIABLES LIKE 'shared_memory'", Value, 1);
 | |
| if (`SELECT '$shm' != 'ON'`){
 | |
|   skip No shm support;
 | |
| }
 | |
| 
 | |
| # Source select test case
 | |
| -- source include/common-tests.inc
 | |
| 
 | |
| #
 | |
| # Bug #24924: shared-memory-base-name that is too long causes buffer overflow
 | |
| #
 | |
| --exec $MYSQLADMIN --no-defaults --user=root --host=127.0.0.1 --port=$MASTER_MYPORT --shared-memory-base-name=HeyMrBaseNameXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ping
 | |
| 
 | |
| --echo End of 5.0 tests.
 |