Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
caf508cb
Commit
caf508cb
authored
Jul 24, 2013
by
rich prohaska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#45 test tokudb release tarballs with the mysql sandbox
parent
04d87d9b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
0 deletions
+32
-0
scripts/testsandbox.bash
scripts/testsandbox.bash
+32
-0
No files found.
scripts/testsandbox.bash
0 → 100644
View file @
caf508cb
#!/usr/bin/env bash
# for all tokudb binary tarballs, verify that we can create and run the tarball using the MySQL sandbox.
function
expand
()
{
echo
$*
|
tr
,:
" "
}
let
n
=
0
for
f
in
*
.md5
;
do
if
[[
$f
=
~
(
.
*
)
.tar.gz.md5
]]
;
then
mysqlbuild
=
${
BASH_REMATCH
[1]
}
else
exit
1
fi
md5sum
--check
$f
if
[
$?
!=
0
]
;
then
exit
1
;
fi
make_sandbox
--add_prefix
=
test
$n
-
$mysqlbuild
.tar.gz
--
--sandbox_directory
=
test
$n
if
[
$?
!=
0
]
;
then
exit
1
;
fi
pushd
$HOME
/sandboxes
if
[
$?
=
0
]
;
then
./use_all
'show engines'
./use_all
'create table test.t (a int primary key, b bigint, c varchar(256), d blob(500000), clustering key(b))'
./use_all
'show create table test.t'
./stop_all
popd
fi
let
n
=
n+1
done
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment