~linuxjedi/drizzle/trunk-bug-667053

« back to all changes in this revision

Viewing changes to mysql-test/t/shm.test

  • Committer: brian
  • Date: 2008-06-25 05:29:13 UTC
  • Revision ID: brian@localhost.localdomain-20080625052913-6upwo0jsrl4lnapl
clean slate

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# We currently only have shm support on windows, so in order
 
2
# to optimize things we skip this test on all other platforms
 
3
--source include/windows.inc
 
4
 
 
5
# Only run this test if shared memory is avaliable
 
6
let $shm= query_get_value("SHOW VARIABLES LIKE 'shared_memory'", Value, 1);
 
7
if (`SELECT '$shm' != 'ON'`){
 
8
  skip No shm support;
 
9
}
 
10
 
 
11
# Source select test case
 
12
-- source include/common-tests.inc
 
13
 
 
14
#
 
15
# Bug #24924: shared-memory-base-name that is too long causes buffer overflow
 
16
#
 
17
--exec $MYSQLADMIN --no-defaults --user=root --host=127.0.0.1 --port=$MASTER_MYPORT --shared-memory-base-name=HeyMrBaseNameXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ping
 
18
 
 
19
--echo End of 5.0 tests.