summaryrefslogtreecommitdiff
path: root/mysql-test/include
diff options
context:
space:
mode:
authorPatrick Crews <patrick.crews@sun.com>2009-02-19 15:37:40 -0500
committerPatrick Crews <patrick.crews@sun.com>2009-02-19 15:37:40 -0500
commitc2e926176ab1d66845d1ce02e07bb4fc9b91a134 (patch)
tree3c5612c250539e8247653a8c257cb8969d10d5bf /mysql-test/include
parenta532e6db7b5e9adc6606b20611679b68ca39fd5d (diff)
downloadmariadb-git-c2e926176ab1d66845d1ce02e07bb4fc9b91a134.tar.gz
Bug#38831: 11 test cases fail on Windows due to missing commands
Replaced Unix calls with mysql-test-run's built-in functions / SQL manipulation where possible. Replaced error codes with error names as well. Disabled two tests on Windows due to more complex Unix command usage See Bug#41307, Bug#41308
Diffstat (limited to 'mysql-test/include')
-rw-r--r--mysql-test/include/ndb_backup.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/include/ndb_backup.inc b/mysql-test/include/ndb_backup.inc
index f0a883d4e11..3239030bb64 100644
--- a/mysql-test/include/ndb_backup.inc
+++ b/mysql-test/include/ndb_backup.inc
@@ -2,6 +2,13 @@
# By JBM 2006-02-16 So that the code is not repeated #
# in test cases and can be reused. #
######################################################
+
+# Bug#41307: Tests using include/ndb_backup.inc won't work on Windows due to
+# 'grep' call
+# This test is disabled on Windows via the next line until the above bug is
+# resolved
+--source include/not_windows.inc
+
--exec $NDB_MGM --no-defaults --ndb-connectstring="localhost:$NDBCLUSTER_PORT" -e "start backup" >> $NDB_TOOLS_OUTPUT
# there is no neat way to find the backupid, this is a hack to find it...