diff options
author | unknown <kent@mysql.com> | 2005-05-15 06:59:34 +0200 |
---|---|---|
committer | unknown <kent@mysql.com> | 2005-05-15 06:59:34 +0200 |
commit | f4425b50e157cf35f89ed22043b8ffd5089abdae (patch) | |
tree | bb0939849359f9bbca5a05c75aecacb515b617a5 /mysql-test/mysql-test-run.sh | |
parent | fc80e4c121926b9eec6bf03dfeba634270a308e5 (diff) | |
download | mariadb-git-f4425b50e157cf35f89ed22043b8ffd5089abdae.tar.gz |
mysqltest.c, mysql-test-run.sh:
Not to conflict with Windows return code 2 for "not found", use 62 for "skip"
mysql-test-run.sh, suppress.purify:
Use Purify suppress file
mysql-test/suppress.purify:
Purify suppress file
mysql-test/mysql-test-run.sh:
Use Purify suppress file
Not to conflict with Windows return code 2 for "not found", use 62 for "skip"
client/mysqltest.c:
Not to conflict with Windows return code 2 for "not found", use 62 for "skip"
Diffstat (limited to 'mysql-test/mysql-test-run.sh')
-rw-r--r-- | mysql-test/mysql-test-run.sh | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/mysql-test/mysql-test-run.sh b/mysql-test/mysql-test-run.sh index bdbd46ae8dd..581c6c66fdd 100644 --- a/mysql-test/mysql-test-run.sh +++ b/mysql-test/mysql-test-run.sh @@ -569,10 +569,7 @@ if [ x$SOURCE_DIST = x1 ] ; then NDB_MGM="$BASEDIR/ndb/src/mgmclient/ndb_mgm" if [ -n "$USE_PURIFY" ] ; then - PSUP="$MYSQL_TEST_DIR/purify.suppress" - echo "suppress UMR rw_read_held; mi_open; ha_myisam::open64; handler::ha_open; openfrm" > $PSUP - echo "suppress UMR my_end; main" >> $PSUP - echo "suppress UMR _doprnt; fprintf; my_end; main" >> $PSUP + PSUP="$MYSQL_TEST_DIR/suppress.purify" PURIFYOPTIONS="-windows=no -log-file=%v.purifylog -append-logfile -add-suppression-files=$PSUP" if [ -f "${MYSQL_TEST}-purify" ] ; then MYSQL_TEST="${MYSQL_TEST}-purify" @@ -1660,11 +1657,11 @@ run_testcase () $ECHO "$RES$RES_SPACE [ pass ] $TIMER" else # why the following ``if'' ? That is why res==1 is special ? - if [ $res = 2 ]; then + if [ $res = 62 ]; then skip_inc $ECHO "$RES$RES_SPACE [ skipped ]" else - if [ $res -gt 2 ]; then + if [ $res -ne 1 ]; then $ECHO "mysqltest returned unexpected code $res, it has probably crashed" >> $TIMEFILE fi total_inc |