~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/drizzledump.test

  • Committer: Monty Taylor
  • Date: 2010-12-26 03:15:44 UTC
  • mto: This revision was merged to the branch mainline in revision 2038.
  • Revision ID: mordred@inaugust.com-20101226031544-1cf3raipu53fnmyj
Through page.

Show diffs side-by-side

added added

removed removed

Lines of Context:
453
453
--disable_query_log
454
454
select '------ Testing with illegal table names ------' as test_sequence ;
455
455
--enable_query_log
456
 
--error EE_CANTCREATEFILE
 
456
--error 2
457
457
--exec $DRIZZLE_DUMP --compact --skip-comments mysqldump_test_db "\d-2-1.sql" 2>&1
458
458
 
459
 
--error EE_CANTCREATEFILE
 
459
--error 2
460
460
--exec $DRIZZLE_DUMP --compact --skip-comments mysqldump_test_db  "\t1" 2>&1
461
461
 
462
 
--error EE_CANTCREATEFILE
 
462
--error 2
463
463
--exec $DRIZZLE_DUMP --compact --skip-comments mysqldump_test_db  "\\t1" 2>&1
464
464
 
465
 
--error EE_CANTCREATEFILE
 
465
--error 2
466
466
--exec $DRIZZLE_DUMP --compact --skip-comments mysqldump_test_db  "\\\\t1" 2>&1
467
467
 
468
 
--error EE_CANTCREATEFILE
 
468
--error 2
469
469
--exec $DRIZZLE_DUMP --compact --skip-comments mysqldump_test_db  "t\1" 2>&1
470
470
 
471
 
--error EE_CANTCREATEFILE
 
471
--error 2
472
472
--exec $DRIZZLE_DUMP --compact --skip-comments  mysqldump_test_db  "t\\1" 2>&1
473
473
 
474
 
--error EE_CANTCREATEFILE
 
474
--error 2
475
475
--exec $DRIZZLE_DUMP --compact --skip-comments mysqldump_test_db  "t/1" 2>&1
476
476
 
477
 
--error EE_CANTCREATEFILE
 
477
--error 2
478
478
--exec $DRIZZLE_DUMP --compact --skip-comments mysqldump_test_db "T_1" 2>&1
479
479
 
480
 
--error EE_CANTCREATEFILE
 
480
--error 2
481
481
--exec $DRIZZLE_DUMP --compact --skip-comments mysqldump_test_db "T%1" 2>&1
482
482
 
483
 
--error EE_CANTCREATEFILE
 
483
--error 2
484
484
--exec $DRIZZLE_DUMP --compact --skip-comments mysqldump_test_db "T'1" 2>&1
485
485
 
486
 
--error EE_CANTCREATEFILE
 
486
--error 2
487
487
--exec $DRIZZLE_DUMP --compact --skip-comments mysqldump_test_db "T_1" 2>&1
488
488
 
489
 
--error EE_CANTCREATEFILE
 
489
--error 2
490
490
--exec $DRIZZLE_DUMP --compact --skip-comments mysqldump_test_db "T_" 2>&1
491
491
 
492
492
--disable_query_log
493
493
select '------ Testing with illegal database names ------' as test_sequence ;
494
494
--enable_query_log
495
 
--error EE_CANTCREATEFILE
 
495
--error 2
496
496
--exec $DRIZZLE_DUMP --compact --skip-comments mysqldump_test_d 2>&1
497
497
 
498
 
--error EE_CANTCREATEFILE
 
498
--error 2
499
499
--exec $DRIZZLE_DUMP --compact --skip-comments "mysqld\ump_test_db" 2>&1
500
500
 
501
501
drop table t1, t2, t3;
634
634
# Drop table "words" and run with threads, should fail
635
635
drop table words;
636
636
--replace_regex /.*mysqlimport(\.exe)*/mysql-import/
637
 
--error EE_ERROR_FIRST
 
637
--error 1
638
638
--exec $DRIZZLE_IMPORT --silent --use-threads=2 test $DRIZZLETEST_VARDIR/tmp/t1.txt $DRIZZLETEST_VARDIR/tmp/t2.txt $DRIZZLETEST_VARDIR/std_data_ln/words.dat $DRIZZLETEST_VARDIR/std_data_ln/words2.dat 2>&1
639
639
 
640
640
drop table t1;