~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/include/diff_tables.inc

  • Committer: patrick crews
  • Date: 2010-10-07 21:20:57 UTC
  • mto: (1819.2.4 drizzle)
  • mto: This revision was merged to the branch mainline in revision 1825.
  • Revision ID: gleebix@gmail.com-20101007212057-l1aq2xq8vfidi6cv
Adjustments to tests to deal with the name changes.  Also fixed passed/failed reporting post-run in test-run.pl

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
disable_query_log;
57
57
 
58
58
--error 0,1
59
 
--remove_file $MYSQLTEST_VARDIR/tmp/diff_table_1
 
59
--remove_file $DRIZZLETEST_VARDIR/tmp/diff_table_1
60
60
--error 0,1
61
 
--remove_file $MYSQLTEST_VARDIR/tmp/diff_table_2
 
61
--remove_file $DRIZZLETEST_VARDIR/tmp/diff_table_2
62
62
 
63
63
let $_diff_table=$diff_table_2;
64
64
let $_diff_i=2;
102
102
  # Now that we have the comma-separated list of columns, we can write
103
103
  # the table to a file.
104
104
  eval SELECT * FROM $_diff_table ORDER BY 1 
105
 
              INTO OUTFILE '$MYSQLTEST_VARDIR/tmp/diff_table_$_diff_i';
 
105
              INTO OUTFILE '$DRIZZLETEST_VARDIR/tmp/diff_table_$_diff_i';
106
106
 
107
107
  # Do the same for $diff_table_1.
108
108
  dec $_diff_i;
112
112
 
113
113
# ==== Compare the generated files ====
114
114
 
115
 
diff_files $MYSQLTEST_VARDIR/tmp/diff_table_1 $MYSQLTEST_VARDIR/tmp/diff_table_2;
 
115
diff_files $DRIZZLETEST_VARDIR/tmp/diff_table_1 $MYSQLTEST_VARDIR/tmp/diff_table_2;
116
116
 
117
 
--remove_file $MYSQLTEST_VARDIR/tmp/diff_table_1
118
 
--remove_file $MYSQLTEST_VARDIR/tmp/diff_table_2
 
117
--remove_file $DRIZZLETEST_VARDIR/tmp/diff_table_1
 
118
--remove_file $DRIZZLETEST_VARDIR/tmp/diff_table_2
119
119
 
120
120
enable_query_log;